net.floodlightcontroller.storage
Class CompoundPredicate
java.lang.Object
net.floodlightcontroller.storage.CompoundPredicate
- All Implemented Interfaces:
- IPredicate
public class CompoundPredicate
- extends java.lang.Object
- implements IPredicate
Predicate class to handle AND and OR combinations of a number
of child predicates. The result of the logical combination of the
child predicates can also be negated to support a NOT operation.
- Author:
- rob
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompoundPredicate
public CompoundPredicate(CompoundPredicate.Operator operator,
boolean negated,
IPredicate... predicateList)
getOperator
public CompoundPredicate.Operator getOperator()
isNegated
public boolean isNegated()
getPredicateList
public IPredicate[] getPredicateList()