Attributes
- Companion
- class
- Source
- Chunk.scala
- 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
- Source
- Chunk.scala
- 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
- Source
- Chunk.scala
- Supertypes
- Self type
-
BitChunk.type
Attributes
- Source
- Chunk.scala
- Supertypes
-
trait Producttrait ChunkIterator[Boolean]trait Serializabletrait IndexedSeq[Boolean]trait IndexedSeq[Boolean]trait Equalstrait IterableOnce[Boolean]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Chunk.scala
- Supertypes
-
trait Producttrait ChunkIterator[Byte]trait Serializabletrait IndexedSeq[Byte]trait IndexedSeq[Byte]trait Equalstrait IterableOnce[Byte]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Chunk.scala
- 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
- Source
- Chunk.scala
- 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
- Source
- Chunk.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
class AnyRefArray[A]class BooleanArrayclass ByteArrayclass CharArrayclass DoubleArrayclass FloatArrayclass IntArrayclass LongArrayclass ShortArrayShow all
- Self type
Attributes
- Source
- Chunk.scala
- Supertypes
-
trait Producttrait ChunkIterator[Double]trait Serializabletrait IndexedSeq[Double]trait IndexedSeq[Double]trait Equalstrait IterableOnce[Double]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Chunk.scala
- Supertypes
-
trait Producttrait ChunkIterator[Float]trait Serializabletrait IndexedSeq[Float]trait IndexedSeq[Float]trait Equalstrait IterableOnce[Float]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Chunk.scala
- 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
- trait
- Source
- Chunk.scala
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
IsText.type
Attributes
- Companion
- object
- Source
- Chunk.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Attributes
- Source
- Chunk.scala
- Supertypes
-
trait Producttrait ChunkIterator[Long]trait Serializabletrait IndexedSeq[Long]trait IndexedSeq[Long]trait Equalstrait IterableOnce[Long]class Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Source
- Chunk.scala
- 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
- Source
- Chunk.scala
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. If you're unsure whether the array will be mutated, prefer Chunk.fromIterable or Chunk.from which create a copy of the provided array.
Attributes
- Source
- Chunk.scala
Returns a chunk backed by a java.nio.ByteBuffer.
Returns a chunk backed by a java.nio.CharBuffer.
Returns a chunk backed by a java.nio.DoubleBuffer.
Returns a chunk backed by a java.nio.FloatBuffer.
Returns a chunk backed by a java.nio.IntBuffer.
Returns a chunk backed by an iterable.
Creates a chunk from an iterator.
Returns a chunk backed by a Java iterable.
Creates a chunk from a Java iterator.
Returns a chunk backed by a java.nio.LongBuffer.
Returns a chunk backed by a java.nio.ShortBuffer.
Attributes
- Definition Classes
- Source
- Chunk.scala
Attributes
- Source
- Chunk.scala
Returns a singleton chunk, eagerly evaluated.
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
- Source
- Chunk.scala
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
- Source
- Chunk.scala
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)
- Source
- ChunkFactory.scala
Attributes
- Inherited from:
- ChunkFactory (hidden)
- Source
- ChunkFactory.scala
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
Concrete fields
The unit chunk
Implicits
Inherited implicits
Attributes
- Inherited from:
- IterableFactory