Package org.osgi.util.function
Interface Predicate<T>
-
- Type Parameters:
T
- The type of the predicate input.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@ConsumerType @FunctionalInterface public interface Predicate<T>
A predicate that accepts a single argument and produces a boolean result.This is a functional interface and can be used as the assignment target for a lambda expression or method reference.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
test(T t)
Evaluates this predicate on the specified argument.
-