T
- the type of the input to the predicatepublic interface Predicate<T>
This is a functional interface
whose functional method is test(Object)
.
boolean test(T t)
t
- the input argumenttrue
if the input argument matches the predicate,
otherwise false
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.