00001 /* 00002 * File: Prime.h 00003 * Author: ywkang 00004 * 00005 * Created on February 27, 2010, 7:55 PM 00006 */ 00007 00008 #ifndef _PRIME_H 00009 #define _PRIME_H 00010 #include "Distributor.h" 00011 00012 class Prime { 00013 public: 00014 Prime(); 00015 Prime(const Prime& orig); 00016 virtual ~Prime(); 00017 static int64_t getPrimeNumber(double hashvalue) ; 00018 private: 00019 static int64_t primes[]; 00020 }; 00021 00022 #endif /* _PRIME_H */ 00023