public static interface CollectionUtil.Predicate<V>
CollectionUtil.filter(java.util.Collection<V>, net.sf.kdgcommons.collections.CollectionUtil.Predicate<V>)
operation: return true
to
include an element in the result, false
to skip it. Implementations
may throw exceptions; these will cause the filter to stop processing.
Purists may object, but each invocation is given the element index, in iteration order.
Modifier and Type | Method and Description |
---|---|
boolean |
invoke(int index,
V value) |