Java org.apache.commons.collections4 IterableUtils fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.collections4 IterableUtils fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.collections4 IterableUtils.

The text is from its open source code.

Method

booleancontains(final Iterable iterable, final Object object)
Checks if the object is contained in the given iterable.
longcountMatches(final Iterable input, final Predicate predicate)
Counts the number of elements in the input iterable that match the predicate.
IterableemptyIterable()
Gets an empty iterable.
IterablefilteredIterable(final Iterable iterable, final Predicate predicate)
Returns a view of the given iterable that only contains elements matching the provided predicate.
Efind(final Iterable iterable, final Predicate predicate)
Finds the first element in the given iterable which matches the given predicate.
voidforEach(final Iterable iterable, final Closure closure)
Applies the closure to each element of the provided iterable.
EforEachButLast(final Iterable iterable, final Closure closure)
Executes the given closure on each but the last element in the iterable.
Tget(final Iterable iterable, final int index)
Returns the index-th value in the iterable's Iterator , throwing IndexOutOfBoundsException if there is no such element.
booleanisEmpty(final Iterable iterable)
Answers true if the provided iterable is empty.
booleanmatchesAll(final Iterable iterable, final Predicate predicate)
Answers true if a predicate is true for every element of an iterable.
booleanmatchesAny(final Iterable iterable, final Predicate predicate)
Answers true if a predicate is true for any element of the iterable.
intsize(final Iterable iterable)
Returns the number of elements contained in the given iterator.
ListtoList(final Iterable iterable)
Gets a new list with the contents of the provided iterable.
StringtoString(final Iterable iterable, final Transformer transformer)
Returns a string representation of the elements of the specified iterable.