Siever

case
class Siever(chunkSize: Int, cutoff: SafeLong)

The Siever manages the segmented sieve process.

At any given time, it holds onto a single sieve segment. Thus, the siever should be used for a single lookup or traversal.

Sievers are built using 'chunkSize' and 'cutoff' parameters. These are passed along to any sieve segments they create. When possible, it's probably better to use methods on the companion object, which will instantiate a Siever for you with reasonable parameters.

trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def arrayAt(p: SafeLong, size: Int): Array[SafeLong]
def lazyListAfter(p0: SafeLong): LazyList[SafeLong]
def nth(n: Long): SafeLong

Deprecated methods

@deprecated("prefer LazyList and lazyListAfter instead", "0.17.0")
def streamAfter(p0: SafeLong): Stream[SafeLong]
Deprecated

Inherited methods

def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product

Concrete fields

val arr: BitSet