T
- the type of the input to the predicate
TODO : remove when java 1.8public interface Predicate<T>
This is a functional interface
whose functional method is test(Object)
.
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
Copyright © 2020. All rights reserved.