Package | Description |
---|---|
net.sf.kdgcommons.collections |
Utilities for working with arrays and the JDK collections framework.
|
Modifier and Type | Method and Description |
---|---|
static <V> List<V> |
CollectionUtil.filter(Collection<V> coll,
CollectionUtil.Predicate<V> predicate)
Applies the specified predicate functor to every element of a collection,
in its natural iteration order, and returns a list containing only those
elements for which the predicate returned
true . |