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.Copyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP