The rest of the collection without its n
first elements.
The rest of the collection without its n
first elements. For
linear, immutable collections this should avoid making a copy.
All elements satisfying predicate p
All elements satisfying predicate p
A pair of, first, all elements that satisfy prediacte p
and, second,
all elements that do not.
A pair of, first, all elements that satisfy prediacte p
and, second,
all elements that do not. Interesting because it splits a collection in two.
The default implementation provided here needs to traverse the collection twice.
Strict collections have an overridden version of partition
in Buildable
,
which requires only a single traversal.
The rest of the collection without its first element.
The rest of the collection without its first element.
A collection containing the first n
elements of this collection.
A collection containing the first n
elements of this collection.
Type-preserving transforms over sequences.