org.eobjects.metamodel.util
Class ExclusionPredicate<E>
java.lang.Object
org.eobjects.metamodel.util.ExclusionPredicate<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Func<E,Boolean>, Predicate<E>
public class ExclusionPredicate<E>
- extends Object
- implements Predicate<E>
A predicate that uses an exclusion list ("black list") of elements to
determine whether to evaluate true or false.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExclusionPredicate
public ExclusionPredicate(Collection<E> exclusionList)
eval
public Boolean eval(E arg)
- Description copied from interface:
Func
- Evaluates an element and transforms it using this function.
- Specified by:
eval in interface Func<E,Boolean>
- Parameters:
arg - the input given to the function
- Returns:
- the output result of the function
getExclusionList
public Collection<E> getExclusionList()
Copyright © 2007-2013. All Rights Reserved.