- emptyIfNull
Returns an immutable empty iterable if the argument is null, or the argument
itself otherwise.
- 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
- checkNotNull
Fail-fast check for null arguments.
- collatedIterable
Combines the two provided iterables into an ordered iterable using the provided
comparator. If the c
- contains
Checks if the object is contained in the given iterable. Object equality is
tested with an equator u
- 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.
- emptyIteratorIfNull
Returns an empty iterator if the argument is null, or iterable.iterator()
otherwise.
- filteredIterable
Returns a view of the given iterable that only contains elements matching the
provided predicate. Th
- find
Finds the first element in the given iterable which matches the given predicate.
A null or empty it
- forEach
Applies the closure to each element of the provided iterable.