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.| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(T t)
Checks if an object should be allowed past this filter.
|
boolean accept(T t)
t - The object to be checked.true if this object should be kept in the
Collection.