Class RightWith<Right>

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

    public final class RightWith<Right>
    extends java.lang.Object
    implements Predicate<Pair<?,​? extends Right>>
    A Predicate to match the right value of a Pair.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean satisfiedBy​(Pair<?,​? extends Right> 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

    • Method Detail

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