Interface Predicate<T>

Type Parameters:
T - type of object upon which this predicate operates
All Superinterfaces:
All Known Implementing Classes:
AbstractTriStatePredicate, AllMatchPredicate, AnyMatchPredicate, CaseInsensitiveStringMatchPredicate, RegexPredicate, ScriptedPredicate, StrategyIndirectedPredicate

public interface Predicate<T>
extends Predicate<T>
A convenience interface to allow our own classes to implement the Java Predicate and log any calls to the apply(Object) method as deprecated.
  • Method Summary

    Modifier and Type Method Description
    default boolean apply​(T input)

    Methods inherited from interface java.util.function.Predicate

    and, negate, or, test
  • Method Details

    • apply

      @Deprecated default boolean apply​(@Nullable T input)
      Default method to log deprecated use of Guava's apply() signature.
      input - input to predicate
      the result of the Predicate.test(Object) method