/** * Initializes the {@link #sieve} with the maximum of {@link #max} * * @see Sieve#Sieve(int) */ @Override public void prepare() { super.prepare(); max = 500000; cnt = -1; sieve = new Sieve(max); }
/** * Reads the names from a file into the {@link #names local array}. * * @see IO#readSortedStrings(String) */ @Override public void prepare() { super.prepare(); names = IO.readSortedStrings("data-files/5000names.txt"); }