Interface Predicate

All Superinterfaces:
Functor, NullaryFunctor
All Known Implementing Classes:
And, BasePredicateList, BoundPredicate, ConditionalPredicate, Constant, FullyBoundPredicate, FunctionPredicate, Limit, Not, Offset, Or

public interface Predicate extends NullaryFunctor
A functor that takes no arguments and returns a boolean value.

Implementors are encouraged but not required to make their functors Serializable.

Since:
1.0
Version:
$Revision$ $Date$
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Evaluate this predicate.

    Methods inherited from interface Functor

    equals, hashCode, toString
  • Method Details

    • test

      boolean test()
      Evaluate this predicate.
      Returns:
      the result of this test