- find
Finds the first element in the given iterable which matches the given predicate.
A null or empty it
- get
Returns the index-th value in the iterable's Iterator, throwing
IndexOutOfBoundsException if there i
- forEach
Applies the closure to each element of the provided iterable.
- isEmpty
Answers true if the provided iterable is empty. A null iterable returns true.
- matchesAny
Answers true if a predicate is true for any element of the iterable. A null or empty iterable return
- countMatches
Counts the number of elements in the input iterable that match the predicate. A null iterable matche
- emptyIterable
Gets an empty iterable. This iterable does not contain any elements.
- forEachButLast
Executes the given closure on each but the last element in the iterable. If the
input iterable is nu
- indexOf
Returns the index of the first element in the specified iterable that matches
the given predicate. A
- toList
Gets a new list with the contents of the provided iterable.
- boundedIterable
Returns a view of the given iterable that contains at most the given number of
elements. The returne
- chainedIterable
Combines the provided iterables into a single iterable. The returned iterable
has an iterator that t