Maven module :un.api : api-common :
Class : un.api.lang.Predicates
Extends/Implements : -
Subclasses : -

An utility class to manage predicates.
author  Yann D'Isanto


Variables : TRUE, FALSE
Functions : xor



A predicate which evaluation always return true.
public ExtendedPredicate TRUE


A predicate which evaluation always return false.
public ExtendedPredicate FALSE



Creates a predicate which evaluation result is a XOR operator between the
two specified predicates.
param  p1 the first predicate.
param  p2 the second predicate.
return  a new predicate.
public ExtendedPredicate xor (Predicate p1, Predicate p2)