|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectariba.util.core.Predicate<T>
ariba.util.core.WhiteListPredicate<T,P>
T
- public class WhiteListPredicate<T,P>
Implements a predicate for checking whether a property on T (fetched via property getter) is contained in the white-list
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ariba.util.core.Predicate |
---|
Predicate.Constant<T> |
Constructor Summary | |
---|---|
WhiteListPredicate(java.util.Set<P> whiteList,
PropertyGetter<T,P> getter)
|
Method Summary | |
---|---|
boolean |
evaluate(T t)
Use a property from T fetched via the property getter to check if the whiteList contains the property |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WhiteListPredicate(java.util.Set<P> whiteList, PropertyGetter<T,P> getter)
Method Detail |
---|
public boolean evaluate(T t)
evaluate
in class Predicate<T>
t
- of type T
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |