@Override public void run() { while (lower <= higher) { if (MathUtilForPrimes.isPrime(lower++)) { primeNumMap.put(lower - 1, new Object()); } } }