Interface Predicate<T>

Type Parameters:
T - the value type
All Superinterfaces:
Operation, Serializable
All Known Implementing Classes:
EvaluationFilter

public interface Predicate<T> extends Operation
Represents a predicate (boolean-valued function) of a value.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(T input)
    Evaluates this predicate on the given argument.
  • Method Details

    • test

      boolean test(T input)
      Evaluates this predicate on the given argument.
      Parameters:
      input - the input argument
      Returns:
      true if the input matches the predicate, false otherwise