org.pfsw.bif.callback
Interface IPredicate<T>

Type Parameters:
T - the type of the input to the predicate

public interface IPredicate<T>

Can be used like Java 8 java.util.Predicate, but is available for Java 6. Represents a predicate (boolean-valued function) of one argument.

This is a functional interface whose functional method is test(Object).


Method Summary
 boolean test(T t)
          Evaluates this predicate on the given argument.
 

Method Detail

test

boolean test(T t)
Evaluates this predicate on the given argument.

Parameters:
t - the input argument.
Returns:
true if the input argument matches the predicate, otherwise false