T
- The type of object to be filtered.
public static interface CollectionUtils.CollectionFilter<T>
CollectionUtils.filter(Collection, CollectionUtils.CollectionFilter)
to filter out unwanted entries in a Collection
.
boolean accept(T t)
t
- The object to be checked.
true
if this object should be kept in the
Collection
.