Package org.dmfs.jems2
Interface Predicate<T>
-
- All Known Implementing Classes:
AllOf,AnyOf,Anything,DelegatingPredicate,Equals,Having,In,LeftWith,NoneOf,Not,Nothing,PairWith,RightWith,SameAs,SingleWith
public interface Predicate<T>A special function which returns true whenever the argument matches this predicate.Predicates must be immutable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleansatisfiedBy(T testedInstance)Returns whether the given instance satisfies this predicate.
-
-
-
Method Detail
-
satisfiedBy
boolean satisfiedBy(T testedInstance)
Returns whether the given instance satisfies this predicate.
-
-