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
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A special function which returns true whenever the argument matches this predicate.
Predicates must be immutable.
-
Method Summary
Modifier and TypeMethodDescriptionbooleansatisfiedBy(T testedInstance) Returns whether the given instance satisfies this predicate.
-
Method Details
-
satisfiedBy
Returns whether the given instance satisfies this predicate.
-