strawman.collections.CollectionStrawMan6
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
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.
A collection containing the first n
elements of this collection.
Type-preserving transforms over iterables. Operations defined here return in their result iterables of the same type as the one they are invoked on.