|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.hp.hpl.jena.graph.query.ExpressionSet
public class ExpressionSet
ExpressionSet: represent a set of (boolean) expressions ANDed together.
Constructor Summary | |
---|---|
ExpressionSet()
Initialise an expression set with no members. |
Method Summary | |
---|---|
ExpressionSet |
add(Expression e)
Answer this expressionset after e has been anded into it. |
boolean |
isComplex()
Answer true iff this ExpressionSet is non-trivial (ie non-empty). |
java.util.Iterator |
iterator()
Answer an iterator over all the Expressions in this ExpressionSet. |
ValuatorSet |
prepare(VariableIndexes vi)
Answer a ValuatorSet which contains exactly the valuators for each Expression in this ExpressionSet, prepared against the VariableIndexes vi. |
java.lang.String |
toString()
Answer a string representing this ExpressionSet for human consumption. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ExpressionSet()
Method Detail |
---|
public ExpressionSet add(Expression e)
e
- the expression to and into the set
public boolean isComplex()
public ValuatorSet prepare(VariableIndexes vi)
public java.util.Iterator iterator()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |