T- the type that the predicate queries
public interface Predicate<T>
Predicate is the object equivalent of an
It uses the input object to return a true or false value, and is often used in
validation or filtering.
Standard implementations of common predicates are provided by
PredicateUtils. These include true, false, instanceof, equals, and,
or, not, method invokation and null testing.
Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.