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 valuesLicenced under the Apache License, Version 2.0