Package-level declarations
Types
A read-only view of a group of elements with size and membership queries.
A read-only ordered collection with zero-based indexed access.
A collection that supports insertion, removal and clearing.
An Iterable whose iterator supports element removal.
An Iterator that can remove the most recently returned element.
A mutable ordered collection with indexed insertion, replacement and removal.
A set supporting insertion, removal and clearing without duplicate elements.
A read-only collection containing no duplicate elements under its equality rules.
Functions
Copies this range into destination, supporting overlapping ranges, and returns it.
Returns a new array containing the same elements.
Returns a resized copy, padding extra elements with null.
Returns a resized copy, padding extra elements with false.
Returns a resized copy, padding extra elements with zero.
Returns a resized copy, padding extra elements with zero characters.
Returns the first element, or null when this iterable is empty.
Returns the first element, or null when this list is empty.
Returns the first matching element, or null when no element matches predicate.
Checks whether this collection contains at least one element.
Checks whether this map contains at least one association.
Returns the last element, or null when this iterable is empty.
Returns the last element, or null when this list is empty.
Returns the last matching element after traversing this iterable in iteration order.
Returns the last element satisfying predicate, or null when no element matches.
Appends non-null transformed elements to destination in iteration order.
Numeric accumulation traverses once in iteration order without an intermediate collection. Empty iterables return positive numeric zero. Integer arithmetic wraps at the result width; Float/Double addition retains ordinary rounding, infinities and NaN. Byte/Short widen to Int; UByte/UShort widen to UInt. Iterator failures propagate unchanged.
Sums selector once per element in iteration order, returning Double zero when empty. No collection is allocated; selector/iterator exceptions and inline non-local returns propagate. Addition retains ordinary Double rounding, infinities and NaN.
Sums selector once per element in iteration order, returning Int zero when empty. No collection is allocated; selector/iterator exceptions and inline non-local returns propagate. Addition uses ordinary wrapping Int arithmetic.
Sums selector once per element in iteration order, returning Long zero when empty. No collection is allocated; selector/iterator exceptions and inline non-local returns propagate. Addition uses ordinary wrapping Long arithmetic.
Sums selector once per element in iteration order, returning UInt zero when empty. No collection is allocated; selector/iterator exceptions and inline non-local returns propagate. Addition uses ordinary wrapping UInt arithmetic.
Sums selector once per element in iteration order, returning ULong zero when empty. No collection is allocated; selector/iterator exceptions and inline non-local returns propagate. Addition uses ordinary wrapping ULong arithmetic.