public class Disjunction extends ListPredicate implements Predicate
| Constructor and Description |
|---|
Disjunction(java.util.List<Predicate> list)
Constructs a new disjunction of predicates.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate()
Implements the
Predicate interface by defining
the evaluate() method. |
java.lang.String |
listSymbol()
The symbol of the list.
|
getPredicate, getPredicateListLength, predicates, setPredicate, toStringpublic Disjunction(java.util.List<Predicate> list)
list - the list of predicates to be disjuncted.public boolean evaluate()
Predicate interface by defining
the evaluate() method.public java.lang.String listSymbol()
listSymbol in class ListPredicate