com.atlassian.jira.util
Class EvaluateAllPredicate<T>
java.lang.Object
com.atlassian.jira.util.EvaluateAllPredicate<T>
- All Implemented Interfaces:
- Predicate<T>
- Direct Known Subclasses:
- JqlVersionPredicate
public class EvaluateAllPredicate<T>
- extends Object
- implements Predicate<T>
A predicate that checks that all the given predicates evaulate to true for the specified input.
It is fail fast.
- Since:
- v4.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvaluateAllPredicate
public EvaluateAllPredicate(Predicate<T> first,
Predicate<T>... predicates)
evaluate
public boolean evaluate(T input)
- Specified by:
evaluate
in interface Predicate<T>
Copyright © 2002-2013 Atlassian. All Rights Reserved.