T
- The type of the predicate input.@ConsumerType
public interface Predicate<T>
This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
Modifier and Type | Method and Description |
---|---|
boolean |
test(T t)
Evaluates this predicate on the specified argument.
|
boolean test(T t)
t
- The input to this predicate.true
if the specified argument is accepted by this
predicate; false
otherwise.Copyright © 2017 OSGi Alliance. All rights reserved.