Constructor and Description |
---|
SlotValuator(int index)
Initialise this SlotValuator with the index to use for lookup.
|
Modifier and Type | Method and Description |
---|---|
boolean |
evalBool(IndexValues iv)
Answer the primitive boolean value of the
index th
element of the index value bindings, which must be a
Boolean value. |
Object |
evalObject(IndexValues iv)
Answer the value of the
index th element of the
index values bindings. |
public SlotValuator(int index)
public Object evalObject(IndexValues iv)
index
th element of the
index values bindings.evalObject
in interface Valuator
iv
- the mapping from variable (indexes) to valuespublic boolean evalBool(IndexValues iv)
index
th
element of the index value bindings, which must be a
Boolean
value.Licenced under the Apache License, Version 2.0