Interface Predicate<T>
-
- Type Parameters:
T- type of values this predicate is defined on
public interface Predicate<T>Type safe counter part ofPredicate.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanevaluate(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
-
-