org.apache.jackrabbit.commons.predicate
Interface Predicate
- All Known Implementing Classes:
- DeclaringTypePredicate, DepthPredicate, IsMandatoryPredicate, IsNodePredicate, NamePredicate, NodeTypePredicate, NtFilePredicate, PathPredicate
public interface Predicate
Interface for object predicates, i.e. functions that evalute a given
object to a boolean value.
Field Summary |
static Predicate |
TRUE
Constant predicate that returns true for all objects. |
Method Summary |
boolean |
evaluate(Object object)
Evaluates the predicate for the given object. |
TRUE
static final Predicate TRUE
- Constant predicate that returns
true
for all objects.
evaluate
boolean evaluate(Object object)
- Evaluates the predicate for the given object.
- Parameters:
object
- some object
- Returns:
- predicate result
Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.