Created
April 28, 2011 16:06
-
-
Save skyler/946656 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PrimeRun implements Runnable { | |
long minPrime; <!-- note not final! | |
PrimeRun(long minPrime) { | |
this.minPrime = minPrime; | |
} | |
public void run() { | |
// compute primes larger than minPrime | |
. . . | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment