Interface Predicate<T>
- Type Parameters:
T- Type of the input to the predicate
- All Superinterfaces:
Serializable
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that tests a tuple.
If an implementation also implements
If an implementation also implements
java.lang.AutoCloseable then it will be
automatically closed when the application terminates.-
Method Summary
-
Method Details
-
test
Testtupleagainst this predicate.- Parameters:
tuple- Tuple to be tested.- Returns:
- True if the tuple passed this predicate, false otherwise.
-