Optional mix-in that provides the class tag of the element type in a chunk.
A FIFO queue of chunks that provides an O(1) size method and provides the ability to take and drop individual elements while preserving the chunk structure as much as possible.
A FIFO queue of chunks that provides an O(1) size method and provides the ability to take and drop individual elements while preserving the chunk structure as much as possible.
This is similar to a queue of individual elements but chunk structure is maintained.
Creates a chunk with the specified values.
Creates a chunk backed by an array.
Creates a chunk backed by a subsequence of an array of booleans.
Creates a chunk backed by an array of booleans.
Creates a chunk backed by a subsequence of an array.
Creates a chunk backed by a subsequence of an array. If A
is a primitive type, elements will be boxed.
Creates a chunk backed by an array.
Creates a chunk backed by an array. If O
is a primitive type, elements will be boxed.
Creates a chunk backed by a mutable buffer.
Creates a chunk backed by a mutable buffer. The underlying buffer must not be modified after it is passed to this function.
Creates a chunk backed by an byte buffer, bounded by the current position and limit
Creates a chunk backed by a byte vector.
Creates a chunk backed by a subsequence of an array of bytes.
Creates a chunk backed by an array of bytes.
Creates a chunk backed by a Chain
.
Creates a chunk backed by an char buffer, bounded by the current position and limit
Concatenates the specified sequence of chunks in to a single chunk, avoiding boxing.
Concatenates the specified sequence of boolean chunks in to a single chunk.
Concatenates the specified sequence of byte chunks in to a single chunk.
Concatenates the specified sequence of double chunks in to a single chunk.
Concatenates the specified sequence of float chunks in to a single chunk.
Concatenates the specified sequence of int chunks in to a single chunk.
Concatenates the specified sequence of long chunks in to a single chunk.
Concatenates the specified sequence of short chunks in to a single chunk.
Creates a chunk backed by an double buffer, bounded by the current position and limit
Creates a chunk backed by a subsequence of an array of doubles.
Creates a chunk backed by an array of doubles.
Chunk with no elements.
Creates a chunk backed by an float buffer, bounded by the current position and limit
Creates a chunk backed by a subsequence of an array of floats.
Creates a chunk backed by an array of floats.
Creates a chunk backed by an IndexedSeq
.
Creates a chunk backed by an int buffer, bounded by the current position and limit
Creates a chunk backed by a subsequence of an array of ints.
Creates a chunk backed by an array of ints.
Creates a chunk backed by an long buffer, bounded by the current position and limit
Creates a chunk backed by a subsequence of an array of ints.
Creates a chunk backed by an array of longs.
Creates a chunk consisting of the elements of queue
.
Creates a chunk consisting of the first n
elements of queue
and returns the remainder.
Creates a chunk backed by a Seq
.
Creates a chunk backed by an short buffer, bounded by the current position and limit
Creates a chunk backed by a subsequence of an array of shorts.
Creates a chunk backed by an array of shorts.
Creates a chunk consisting of a single element.
Creates a chunk backed by a vector.