| Package | Description |
|---|---|
| org.nerd4j.utils.math |
| Modifier and Type | Method and Description |
|---|---|
static PrimeSieve |
PrimeSieve.get()
Returns a new
PrimeSieve with the default limits:
Greatest computable value: 412316859839
Memory occupation upper bound: 16GB
|
static PrimeSieve |
PrimeSieve.withMemoryLimit(long memoryLimitInBytes)
Returns a new
PrimeSieve that will use up to the
given amount of memory. |
static PrimeSieve |
PrimeSieve.withUpperLimit(long upperLimit)
Returns a new
PrimeSieve that will compute prime
numbers up to the given value. |
Copyright © 2011–2020 Nerd4j. All rights reserved.