LongsBatch

final class LongsBatch(underlying: ArrayBatch[Long]) extends Batch[Long]

Batch implementation specialized for Long.

Batch implementation specialized for Long.

Under the hood it uses an ArrayBatch implementation, which is @specialized. Using LongsBatch might be desirable instead for isInstanceOf checks.

class Batch[Long]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def collect[B](pf: PartialFunction[Long, B]): ArrayBatch[B]
Definition Classes
override def cursor(): LongsCursor
Definition Classes
override def drop(n: Int): LongsBatch
Definition Classes
override def filter(p: Long => Boolean): LongsBatch
Definition Classes
override def foldLeft[R](initial: R)(op: (R, Long) => R): R
Definition Classes
override def map[B](f: Long => B): ArrayBatch[B]
Definition Classes
override def slice(from: Int, until: Int): LongsBatch
Definition Classes
override def take(n: Int): LongsBatch
Definition Classes

Inherited methods

def toArray[B >: Long](`evidence$1`: ClassTag[B]): Array[B]

Converts this generator into a standard Array.

Converts this generator into a standard Array.

Inherited from
Batch
def toIterable: Iterable[Long]

Converts this generator into a Scala Iterable.

Converts this generator into a Scala Iterable.

Inherited from
Batch
def toList: List[Long]

Converts this generator into a Scala immutable List.

Converts this generator into a Scala immutable List.

Inherited from
Batch