All Packages Class Hierarchy This Package Previous Next Index
Class EDU.gatech.cc.is.clay.NodeInt
java.lang.Object
|
+----EDU.gatech.cc.is.clay.Node
|
+----EDU.gatech.cc.is.clay.NodeScalar
|
+----EDU.gatech.cc.is.clay.NodeInt
- public abstract class NodeInt
- extends NodeScalar
A Node that returns int values. Since it is an extension
of NodeScalar, it can return boolean and double values also.
For detailed information on how to configure behaviors, see the
Clay page.
Copyright
(c)1997, 1998 Tucker Balch
- Version:
- $Revision: 1.2 $
- Author:
- Tucker Balch
-
NodeInt()
-
-
booleanValue(long)
- Convert int output to boolean.
-
doubleValue(long)
- Convert int output to double.
-
intValue(long)
- The int value.
-
Value(long)
- Provides the value of the node.
NodeInt
public NodeInt()
Value
public abstract int Value(long timestamp)
- Provides the value of the node.
If you implement a NodeInt, you need to define
this method.
- Parameters:
- timestamp - long indicates time of the request
- Returns:
- the value
doubleValue
public double doubleValue(long timestamp)
- Convert int output to double.
- Parameters:
- timestamp - long indicates time of the request
- Returns:
- the double value
- Overrides:
- doubleValue in class NodeScalar
intValue
public int intValue(long timestamp)
- The int value.
- Parameters:
- timestamp - long indicates time of the request
- Returns:
- the int value
- Overrides:
- intValue in class NodeScalar
booleanValue
public boolean booleanValue(long timestamp)
- Convert int output to boolean.
- Parameters:
- timestamp - long indicates time of the request
- Returns:
- the boolean value (true if non-zero).
- Overrides:
- booleanValue in class NodeScalar
All Packages Class Hierarchy This Package Previous Next Index