Class DelegatingPredicate<T>

java.lang.Object
org.dmfs.jems2.predicate.DelegatingPredicate<T>
All Implemented Interfaces:
Predicate<T>
Direct Known Subclasses:
Equals, NoneOf, PairWith

public abstract class DelegatingPredicate<T> extends Object implements Predicate<T>
A Predicate which just delegates to another Predicate.
  • Constructor Details

    • DelegatingPredicate

      protected DelegatingPredicate(Predicate<T> delegate)
  • Method Details

    • satisfiedBy

      public final boolean satisfiedBy(T testedInstance)
      Description copied from interface: Predicate
      Returns whether the given instance satisfies this predicate.
      Specified by:
      satisfiedBy in interface Predicate<T>