Package org.eclipse.collections.api.block.predicate
This package contains interfaces for Predicate API.
A Predicate is a lambda with a boolean result.
This package contains 2 interfaces.
-
Predicate
- a lambda with a boolean result. -
Predicate2
- a two argument Predicate. Primarily used in methods like selectWith, detectWith, rejectWith.
-
Interface Summary Interface Description Predicate<T> A Predicate is a lambda or closure with a boolean result.Predicate2<T1,T2> A Predicate2 is primarily used in methods like selectWith, detectWith, rejectWith.