Attributes
- Companion
- class
- Graph
-
- Supertypes
-
trait StrictOptimizedSeqFactory[Chunk]trait SeqFactory[Chunk]trait IterableFactory[Chunk]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
Chunk.type
Members list
Type members
Classlikes
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[A]class Chunk[A]trait Serializabletrait ChunkLike[A]trait IndexedSeq[A]trait IndexedSeq[A]trait Seq[A]trait Seq[A]trait Equalstrait Iterable[A]trait Iterable[A]trait IterableOnce[A]class Objecttrait Matchableclass AnyShow all
- Self type
-
AnyRefArray[A]
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Boolean]trait Serializabletrait IndexedSeq[Boolean]trait IndexedSeq[Boolean]trait Equalstrait IterableOnce[Boolean]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Byte]trait Serializabletrait IndexedSeq[Byte]trait IndexedSeq[Byte]trait Equalstrait IterableOnce[Byte]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Char]trait Serializabletrait IndexedSeq[Char]trait IndexedSeq[Char]trait Equalstrait IterableOnce[Char]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- trait
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ChunkIterator.type
A ChunkIterator
is a specialized iterator that supports efficient iteration over chunks. Unlike a normal iterator, the caller is responsible for providing an index
with each call to hasNextAt
and nextAt
. By contract this should be 0
initially and incremented by 1
each time nextAt
is called. This allows the caller to maintain the current index in local memory rather than the iterator having to do it on the heap for array backed chunks.
A ChunkIterator
is a specialized iterator that supports efficient iteration over chunks. Unlike a normal iterator, the caller is responsible for providing an index
with each call to hasNextAt
and nextAt
. By contract this should be 0
initially and incremented by 1
each time nextAt
is called. This allows the caller to maintain the current index in local memory rather than the iterator having to do it on the heap for array backed chunks.
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AnyRefArray[A]class BooleanArrayclass ByteArrayclass CharArrayclass DoubleArrayclass FloatArrayclass IntArrayclass LongArrayclass ShortArrayShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Double]trait Serializabletrait IndexedSeq[Double]trait IndexedSeq[Double]trait Equalstrait IterableOnce[Double]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Float]trait Serializabletrait IndexedSeq[Float]trait IndexedSeq[Float]trait Equalstrait IterableOnce[Float]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Int]trait Serializabletrait IndexedSeq[Int]trait IndexedSeq[Int]trait Equalstrait IterableOnce[Int]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Long]trait Serializabletrait IndexedSeq[Long]trait IndexedSeq[Long]trait Equalstrait IterableOnce[Long]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Producttrait ChunkIterator[Short]trait Serializabletrait IndexedSeq[Short]trait IndexedSeq[Short]trait Equalstrait IterableOnce[Short]class Objecttrait Matchableclass AnyShow all
- Self type
Value members
Concrete methods
Returns a chunk from a number of values.
Returns the empty chunk.
Attributes
- Definition Classes
Returns a chunk backed by an array.
Returns a chunk backed by an array.
WARNING: The array must not be mutated after creating the chunk.
Attributes
Returns a chunk backed by a java.nio.ByteBuffer.
Returns a chunk backed by a java.nio.ByteBuffer.
Attributes
Returns a chunk backed by a java.nio.CharBuffer.
Returns a chunk backed by a java.nio.CharBuffer.
Attributes
Returns a chunk backed by a java.nio.DoubleBuffer.
Returns a chunk backed by a java.nio.DoubleBuffer.
Attributes
Returns a chunk backed by a java.nio.FloatBuffer.
Returns a chunk backed by a java.nio.FloatBuffer.
Attributes
Returns a chunk backed by a java.nio.IntBuffer.
Returns a chunk backed by a java.nio.IntBuffer.
Attributes
Returns a chunk backed by an iterable.
Returns a chunk backed by an iterable.
Attributes
Creates a chunk from an iterator.
Creates a chunk from an iterator.
Attributes
Returns a chunk backed by a Java iterable.
Returns a chunk backed by a Java iterable.
Attributes
Creates a chunk from a Java iterator.
Creates a chunk from a Java iterator.
Attributes
Returns a chunk backed by a java.nio.LongBuffer.
Returns a chunk backed by a java.nio.LongBuffer.
Attributes
Returns a chunk backed by a java.nio.ShortBuffer.
Returns a chunk backed by a java.nio.ShortBuffer.
Attributes
Attributes
- Definition Classes
Returns a singleton chunk, eagerly evaluated.
Returns a singleton chunk, eagerly evaluated.
Attributes
Alias for Chunk.single.
Constructs a Chunk
by repeatedly applying the function f
as long as it returns Some
.
Constructs a Chunk
by repeatedly applying the function f
as long as it returns Some
.
Attributes
Constructs a Chunk
by repeatedly applying the effectual function f
as long as it returns Some
.
Constructs a Chunk
by repeatedly applying the effectual function f
as long as it returns Some
.
Attributes
Inherited methods
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- ChunkFactory (hidden)
Attributes
- Inherited from:
- IterableFactory
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- IterableFactory
Attributes
- Inherited from:
- SeqFactory
Implicits
Inherited implicits
Attributes
- Inherited from:
- IterableFactory