org.apache.commons.functor
Interface Predicate

All Superinterfaces:
Functor, NullaryFunctor
All Known Implementing Classes:
And, 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: 647290 $ $Date: 2008-04-11 22:08:44 +0200 (Fri, 11 Apr 2008) $
Author:
Rodney Waldhoff

Method Summary
 boolean test()
          Evaluate this predicate.
 
Methods inherited from interface org.apache.commons.functor.Functor
equals, hashCode, toString
 

Method Detail

test

boolean test()
Evaluate this predicate.

Returns:
the result of this test


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.