|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hp.hpl.jena.graph.query.Expression.Util
Utility methods for Expressions, captured in a class because they can't be written directly in the interface.
Constructor Summary | |
Expression.Util()
|
Method Summary | |
static java.util.Set |
addVariablesOf(java.util.Set s,
Expression e)
Add all the variables of e to s , and answer
s . |
static Valuator |
prepare(Expression e,
VariableIndexes vi)
Answer a Valuator v such that v.evalBool(IndexValues iv)
will return
e.evalBool( vv ) where vv.get(name) = iv.get(vi.indexOf(name))
|
static java.util.Set |
variablesOf(Expression e)
Answer a set containing exactly the names of variables within e . |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Expression.Util()
Method Detail |
public static java.util.Set variablesOf(Expression e)
e
.
public static java.util.Set addVariablesOf(java.util.Set s, Expression e)
e
to s
, and answer
s
.
public static Valuator prepare(Expression e, VariableIndexes vi)
v.evalBool(IndexValues iv)
will return
e.evalBool( vv ) where vv.get(name) = iv.get(vi.indexOf(name))
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |