- forEach
Applies procedure for each element of the given iterator. The procedure takes
the element and a loop
- toIterable
Wraps an Iterator in an Iterable.
- map
Returns an iterator that performs the given transformation for each element of
original when request
- filter
Returns the elements of unfiltered that satisfy a predicate. The resulting
iterator does not support
- toList
Returns a list that contains all the entries of the given iterator in the same
order.
- exists
Returns true if one or more elements in iterator satisfy the predicate.
- findFirst
Finds the first element in the given iterator that fulfills the predicate. If
none is found or the i
- head
Returns the first element in the given iterator or null if empty.
- isEmpty
Determines if the given iterator contains no elements.
- drop
Returns a view on this iterator that provides all elements except the first
count entries.
- dropWhile
Returns an Iterator containing all elements starting from the first element for
which the drop-predi
- findLast
Finds the last element in the given iterator that fulfills the predicate. If
none is found or the it