Class RightWith<Right>

java.lang.Object
org.dmfs.jems2.predicate.RightWith<Right>
All Implemented Interfaces:
Predicate<Pair<?,? extends Right>>

public final class RightWith<Right> extends Object implements Predicate<Pair<?,? extends Right>>
A Predicate to match the right value of a Pair.
  • Constructor Details

  • Method Details

    • satisfiedBy

      public boolean satisfiedBy(Pair<?,? extends Right> testedInstance)
      Description copied from interface: Predicate
      Returns whether the given instance satisfies this predicate.
      Specified by:
      satisfiedBy in interface Predicate<Right>