Interface Predicate<E>

All Known Implementing Classes:
BooleanPredicate, DoublePredicate, IntPredicate, LongPredicate

public interface Predicate<E>
A predicate that checks if some value leads to true or false.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    evaluate(E value)
    Evaluates the predicate.
  • Method Details

    • evaluate

      boolean evaluate(E value)
      Evaluates the predicate.
      Parameters:
      value - the value to evaluate.
      Returns:
      true or false.