|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hp.hpl.jena.graph.query.SlotValuator
public class SlotValuator
A SlotValuator evaluates to a specific slot in the index values bindings.
| Constructor Summary | |
|---|---|
SlotValuator(int index)
Initialise this SlotValuator with the index to use for lookup. |
|
| Method Summary | |
|---|---|
boolean |
evalBool(IndexValues iv)
Answer the primitive boolean value of the indexth
element of the index value bindings, which must be a
Boolean value. |
Object |
evalObject(IndexValues iv)
Answer the value of the indexth element of the
index values bindings. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SlotValuator(int index)
| Method Detail |
|---|
public Object evalObject(IndexValues iv)
indexth element of the
index values bindings.
evalObject in interface Valuatoriv - the mapping from variable (indexes) to valuespublic boolean evalBool(IndexValues iv)
indexth
element of the index value bindings, which must be a
Boolean value.
evalBool in interface Valuatoriv - the mapping from variable (indexes) to values
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||