Package org.dmfs.jems2.predicate
Class SameAs<T>
java.lang.Object
org.dmfs.jems2.predicate.SameAs<T>
- All Implemented Interfaces:
Predicate<T>
A trivial
Predicate which compares the instances of two objects and matches if they are the same.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleansatisfiedBy(T testedInstance) Returns whether the given instance satisfies this predicate.
-
Constructor Details
-
SameAs
-
-
Method Details
-
satisfiedBy
Description copied from interface:PredicateReturns whether the given instance satisfies this predicate.- Specified by:
satisfiedByin interfacePredicate<T>
-