- All Superinterfaces:
- java.io.Serializable
public interface Predicate<T>
extends java.io.Serializable
A Predicate is a lambda or closure with a boolean result. The method accept should be implemented to indicate the object
passed to the method meets the criteria of this Predicate. A Predicate is also known as a Discriminator or Filter.