Class AlwaysTrue<T>

  • Type Parameters:
    T - the type of the object to test
    All Implemented Interfaces:
    Predicate<T>

    public class AlwaysTrue<T>
    extends Object
    implements Predicate<T>
    A predicate that always returns true.
    • Constructor Detail

      • AlwaysTrue

        public AlwaysTrue()
    • Method Detail

      • test

        public boolean test​(T t)
        Specified by:
        test in interface Predicate<T>
        Returns:
        true, always