All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.NodeBoolean

java.lang.Object
   |
   +----EDU.gatech.cc.is.clay.Node
           |
           +----EDU.gatech.cc.is.clay.NodeScalar
                   |
                   +----EDU.gatech.cc.is.clay.NodeBoolean

public abstract class NodeBoolean
extends NodeScalar
A Node that returns boolean values. Since it is an extension of NodeScalar, it can return double and int 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

Constructor Index

 o NodeBoolean()

Method Index

 o booleanValue(long)
Get the boolean value.
 o doubleValue(long)
Convert boolean output value to double.
 o intValue(long)
Convert boolean output to int.
 o Value(long)
Provides the value of the node.

Constructors

 o NodeBoolean
 public NodeBoolean()

Methods

 o Value
 public abstract boolean Value(long timestamp)
Provides the value of the node. If you implement a NodeBoolean, you need to define this method.

Parameters:
timestamp - long indicates time of the request
Returns:
the value
 o doubleValue
 public double doubleValue(long timestamp)
Convert boolean output value to double.

Parameters:
timestamp - long indicates time of the request
Returns:
the double value
Overrides:
doubleValue in class NodeScalar
 o intValue
 public int intValue(long timestamp)
Convert boolean output to int.

Parameters:
timestamp - long indicates time of the request
Returns:
the int value
Overrides:
intValue in class NodeScalar
 o booleanValue
 public boolean booleanValue(long timestamp)
Get the boolean value.

Parameters:
timestamp - long indicates time of the request
Returns:
the boolean value
Overrides:
booleanValue in class NodeScalar

All Packages  Class Hierarchy  This Package  Previous  Next  Index