Interface Predicate<T>

Type Parameters:
T - type of object upon which this predicate operates
All Superinterfaces:
Predicate<T>
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)
    Deprecated. 

    Methods inherited from interface java.util.function.Predicate

    and, negate, or, test
  • Method Details

    • apply

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