Appends the specified Chunk to the end of this NonEmptyChunk.
A symbolic alias for prepended.
A symbolic alias for appended.
A named alias for ++.
Appends a single element to the end of this NonEmptyChunk.
Converts this NonEmptyChunk of bytes to a NonEmptyChunk of bits.
Returns whether this NonEmptyChunk and the specified NonEmptyChunk are
equal to each other.
Returns whether this NonEmptyChunk and the specified NonEmptyChunk are
equal to each other.
Maps each element of this NonEmptyChunk to a new NonEmptyChunk and
then concatenates them together.
Flattens a NonEmptyChunk of NonEmptyChunk values to a single
NonEmptyChunk.
Returns the hashcode of this NonEmptyChunk.
Returns the hashcode of this NonEmptyChunk.
Transforms the elements of this NonEmptyChunk with the specified
function.
Maps over the elements of this NonEmptyChunk, maintaining some state
along the way.
Effectfully maps over the elements of this NonEmptyChunk, maintaining
some state along the way.
Effectfully maps the elements of this NonEmptyChunk.
Effectfully maps the elements of this NonEmptyChunk in parallel.
Materialize the elements of this NonEmptyChunk into a NonEmptyChunk
backed by an array.
Prepends the specified Chunk to the beginning of this NonEmptyChunk.
Prepends a single element to the beginning of this NonEmptyChunk.
Reduces the elements of this NonEmptyChunk from left to right using the
function map to transform the first value to the type B and then the
function reduce to combine the B value with each other A value.
Reduces the elements of this NonEmptyChunk from right to left using the
function map to transform the first value to the type B and then the
function reduce to combine the B value with each other A value.
Converts this NonEmptyChunk to a Chunk, discarding information about
it not being empty.
Converts this NonEmptyChunk to the :: case of a List.
Renders this NonEmptyChunk as a String.
Renders this NonEmptyChunk as a String.
Zips this NonEmptyChunk with the specified NonEmptyChunk, only
keeping as many elements as are in the smaller chunk.
Zips this NonEmptyChunk with the specified Chunk, using None to
"fill in" missing values if one chunk has fewer elements than the other.
Zips this NonEmptyChunk with the specified Chunk, using the specified
functions to "fill in" missing values if one chunk has fewer elements
than the other.
Zips this NonEmptyChunk with the specified NonEmptyChunk, only
keeping as many elements as are in the smaller chunk.
Annotates each element of this NonEmptyChunk with its index.
Annotates each element of this NonEmptyChunk with its index, with the
specified offset.
A
NonEmptyChunkis aChunkthat is guaranteed to contain at least one element. As a result, operations which would not be safe when performed onChunk, such asheadorreduce, are safe when performed onNonEmptyChunk. Operations onNonEmptyChunkwhich could potentially return an empty chunk will return aChunkinstead.