Apparents a single element to the end of this NonEmptyChunk
.
Appends the specified Chunk
to the end of this NonEmptyChunk
.
A named alias for ++
.
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
.
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 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
NonEmptyChunk
is aChunk
that is guaranteed to contain at least one element. As a result, operations which would not be safe when performed onChunk
, such ashead
orreduce
, are safe when performed onNonEmptyChunk
. Operations onNonEmptyChunk
which could potentially return an empty chunk will return aChunk
instead.