Class LeftWith<Left>

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

public final class LeftWith<Left> extends Object implements Predicate<Pair<? extends Left,?>>
A Predicate to match the left value of a Pair.
  • Constructor Details

  • Method Details

    • satisfiedBy

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