EDU.gatech.cc.is.clay
Class NodeScalar
java.lang.Object
|
+--EDU.gatech.cc.is.clay.Node
|
+--EDU.gatech.cc.is.clay.NodeScalar
- Direct Known Subclasses:
- NodeBoolean, NodeDouble, NodeInt
- public abstract class NodeScalar
- extends Node
A Node that returns int, double and boolean values.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
Method Summary |
abstract boolean |
booleanValue(long timestamp)
Get the boolean value. |
abstract double |
doubleValue(long timestamp)
Get the double value. |
abstract int |
intValue(long timestamp)
Get the int value. |
Methods inherited from class EDU.gatech.cc.is.clay.Node |
initTrial |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
NodeScalar
public NodeScalar()
doubleValue
public abstract double doubleValue(long timestamp)
- Get the double value.
- Parameters:
timestamp
- long indicates time of the request- Returns:
- the double value
intValue
public abstract int intValue(long timestamp)
- Get the int value.
- Parameters:
timestamp
- long indicates time of the request- Returns:
- the int value
booleanValue
public abstract boolean booleanValue(long timestamp)
- Get the boolean value.
- Parameters:
timestamp
- long indicates time of the request- Returns:
- the boolean value