Class Functions.EqualsPredicate<T>

  • All Implemented Interfaces:
    Predicate<T>
    Enclosing class:
    Functions

    static final class Functions.EqualsPredicate<T>
    extends java.lang.Object
    implements Predicate<T>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) T value  
    • Constructor Summary

      Constructors 
      Constructor Description
      EqualsPredicate​(T value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean test​(T t)
      Test the given input value and return a boolean.
      • Methods inherited from class java.lang.Object

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

      • value

        final T value
    • Constructor Detail

      • EqualsPredicate

        EqualsPredicate​(T value)
    • Method Detail

      • test

        public boolean test​(T t)
        Description copied from interface: Predicate
        Test the given input value and return a boolean.
        Specified by:
        test in interface Predicate<T>
        Parameters:
        t - the value
        Returns:
        the boolean result