cascading.pattern.model.tree.predicate.compound
Class XorPredicate
java.lang.Object
cascading.pattern.model.tree.predicate.Predicate
cascading.pattern.model.tree.predicate.compound.CompoundPredicate
cascading.pattern.model.tree.predicate.compound.XorPredicate
- All Implemented Interfaces:
- Serializable
public class XorPredicate
- extends CompoundPredicate
Class XorPredicate returns true if an odd number of child predicates return true.
- See Also:
- Serialized Form
XorPredicate
public XorPredicate(List<Predicate> children)
XorPredicate
public XorPredicate(Predicate... children)
evaluate
public Boolean evaluate(Iterator<Boolean> results)
- Specified by:
evaluate
in class CompoundPredicate
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.