Definition of a constant (always true or always false) Predicate.
Predicate
Predicate that always returns a constant (boolean) result.
Creates a new Predicate that always returns true.
true
Creates a new Predicate that always returns false.
false