MutableList
A mutable ordered collection with indexed insertion, replacement and removal.
Mutations are visible through read-only List aliases. Duplicate elements are permitted.
Type Parameters
element type.
See also
Inheritors
Properties
Functions
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.
Returns an iterator that can remove the most recently returned element.
Returns the index of the last element equal to element.
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.