|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jpaul.Misc.Predicate<T> jpaul.Misc.SetMembership<T>
public class SetMembership<T>
SetMembership
is a predicate that checks whether an
element is member of a specific set.
Constructor Summary | |
---|---|
SetMembership(java.util.Collection<T> set)
Creates a SetMembership that checks membership in
the set set . |
Method Summary | |
---|---|
boolean |
check(T t)
The boolean predicate. |
Methods inherited from class jpaul.Misc.Predicate |
---|
AND, FALSE, FULL_AND, FULL_OR, NOT, OR, TRUE |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SetMembership(java.util.Collection<T> set)
SetMembership
that checks membership in
the set set
.
Method Detail |
---|
public boolean check(T t)
Predicate
check
in class Predicate<T>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |