org.apache.jackrabbit.spi.commons.iterator
Interface Predicate<T>

Type Parameters:
T - type of values this predicate is defined on

public interface Predicate<T>

Type safe counter part of Predicate.


Method Summary
 boolean evaluate(T arg)
          Use the specified parameter to perform a test that returns true or false.
 

Method Detail

evaluate

boolean evaluate(T arg)
Use the specified parameter to perform a test that returns true or false.

Parameters:
arg - the predicate to evaluate, should not be changed
Returns:
true or false


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.