|
||||||||||
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.FixedValuator
public class FixedValuator
A FixedValuator is a Valuator that delivers a constant value (supplied when it is constructed).
Constructor Summary | |
---|---|
FixedValuator(Object value)
Initialise this FixedValuator with a specific value |
Method Summary | |
---|---|
boolean |
evalBool(IndexValues iv)
Answer this FixedValuator's value, which must be a Boolean object, as a boolean . |
Object |
evalObject(IndexValues iv)
Answer this FixedValuator's value, as supplied when it was constructed. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FixedValuator(Object value)
Method Detail |
---|
public boolean evalBool(IndexValues iv)
boolean
. The index values
are irrelevant.
evalBool
in interface Valuator
iv
- the mapping from variable (indexes) to valuespublic Object evalObject(IndexValues iv)
evalObject
in interface Valuator
iv
- the mapping from variable (indexes) to values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |