Class LeftWith<Left>

  • All Implemented Interfaces:
    Predicate<Pair<? extends Left,​?>>

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

      Constructors 
      Constructor Description
      LeftWith​(Predicate<? super Left> delegate)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean satisfiedBy​(Pair<? extends Left,​?> testedInstance)
      Returns whether the given instance satisfies this predicate.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LeftWith

        public LeftWith​(Predicate<? super Left> delegate)
    • Method Detail

      • 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>