|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.collections.SetUtils
Provides static utility methods and decorators for Set
and SortedSet
instances.
Method Summary | |
static java.util.Set |
predicatedSet(java.util.Set set,
Predicate predicate)
Returns a predicated set backed by the given set. |
static java.util.SortedSet |
predicatedSortedSet(java.util.SortedSet set,
Predicate predicate)
Returns a predicated sorted set backed by the given sorted set. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.util.Set predicatedSet(java.util.Set set, Predicate predicate)
set
- the set to predicate, must not be nullpredicate
- the predicate for the set, must not be null
java.lang.IllegalArgumentException
- if the Set or Predicate is nullpublic static java.util.SortedSet predicatedSortedSet(java.util.SortedSet set, Predicate predicate)
set
- the sorted set to predicate, must not be nullpredicate
- the predicate for the sorted set, must not be null
java.lang.IllegalArgumentException
- if the Set or Predicate is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |