Constructor and Description |
---|
FixedValuator(Object value)
Initialise this FixedValuator with a specific value
|
Modifier and Type | Method and Description |
---|---|
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.
|
public FixedValuator(Object value)
public boolean evalBool(IndexValues iv)
boolean
. The index values
are irrelevant.public Object evalObject(IndexValues iv)
evalObject
in interface Valuator
iv
- the mapping from variable (indexes) to valuesCopyright ? 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP