Searched refs:primeNumbers (Results 1 – 2 of 2) sorted by relevance
20 PrimeNumbersCollection PrimeNumbers::primeNumbers; member in PrimeNumbers24 primeNumbers.clear(); in generatePrimeNumbers()27 primeNumbers.push_back(i); in generatePrimeNumbers()30 it = primeNumbers.begin(); in generatePrimeNumbers()31 it2 = primeNumbers.begin(); in generatePrimeNumbers()35 for (; it != primeNumbers.end(); it++) { in generatePrimeNumbers()40 for (;it2 != primeNumbers.end();) in generatePrimeNumbers()42 it2 = primeNumbers.erase(it2); in generatePrimeNumbers()53 if(primeNumbers.back() < lowerValue) in getPrimeNumberInRange()56 PrimeNumbersCollection::iterator it = primeNumbers.begin(); in getPrimeNumberInRange()[all …]
56 static PrimeNumbersCollection primeNumbers;