public abstract class ListPredicate
extends java.lang.Object
Constructor and Description |
---|
ListPredicate(java.util.List<Predicate> list)
Constructs a new list predicate.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
getPredicate(int i)
Returns the requested predicate.
|
int |
getPredicateListLength()
Returns the length of the predicate list.
|
protected java.lang.String |
listSymbol()
Returns the symbol of this list.
|
java.lang.Iterable<Predicate> |
predicates()
Returns the iterable list of predicates.
|
void |
setPredicate(int i,
Predicate predicate)
Sets the given predicate of the predicate list.
|
java.lang.String |
toString()
Textual representation.
|
public ListPredicate(java.util.List<Predicate> list)
list
- the predicate list.public int getPredicateListLength()
public Predicate getPredicate(int i)
i
- the index of the predicate to be retrieved.public void setPredicate(int i, Predicate predicate)
i
- the index of the predicate to be set.predicate
- the new predicate.public java.lang.Iterable<Predicate> predicates()
protected java.lang.String listSymbol()
public java.lang.String toString()
toString
in class java.lang.Object