Interface UnaryPredicate<A>

Type Parameters:
A - the argument type.
All Superinterfaces:
Functor, UnaryFunctor<A>
All Known Implementing Classes:
BaseUnaryPredicateList, BinaryPredicateUnaryPredicate, CompositeUnaryPredicate, ConditionalUnaryPredicate, Constant, Identity, IsEmpty, IsNotNull, IsNull, IsWithinRange, LeftBoundPredicate, Limit, Offset, PredicateUnaryPredicate, RightBoundPredicate, UnaryAnd, UnaryFunctionUnaryPredicate, UnaryNot, UnaryOr

public interface UnaryPredicate<A> extends UnaryFunctor<A>
A functor that takes one argument 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
    test(A obj)
    Evaluate this predicate.

    Methods inherited from interface Functor

    equals, hashCode, toString
  • Method Details

    • test

      boolean test(A obj)
      Evaluate this predicate.
      Parameters:
      obj - the A object to test
      Returns:
      the result of this test