|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.townleyenterprises.filter.Filters
This class provides helper filter operations for collections to both filter and optionally sort the results.
| Method Summary | |
static java.util.Collection |
filter(java.util.Collection collection,
Filter filter)
This method is used to filter a given collection with the specified filter. |
static java.util.List |
filter(java.util.Collection collection,
Filter filter,
SortSpecification[] sort)
This method will filter the given collection and then return a sorted list of the results. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static java.util.Collection filter(java.util.Collection collection,
Filter filter)
collection - the collection to filterfilter - the filter to be applied
public static java.util.List filter(java.util.Collection collection,
Filter filter,
SortSpecification[] sort)
collection - the collection to filterfilter - the filter to be appliedsort - the sort specifications to apply
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||