T
- the type of the input to the predicatepublic static interface Shape.Pred<T>
Modifier and Type | Method and Description |
---|---|
boolean |
test(T t)
Evaluates this predicate on the given argument.
|
boolean test(T t)
t
- the input argumenttrue
if the input argument matches the predicate, otherwise false