All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.b_NonZero_s

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

public class b_NonZero_s
extends NodeBoolean
Return true if the value of embedded node is non-zero.

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

Variable Index

 o DEBUG
Turn debug printing on or off.

Constructor Index

 o b_NonZero_s(NodeScalar)
Instantiate a b_NonZero_s schema.

Method Index

 o Value(long)
Return a boolean indicating if the embedded node output is NonZero.

Variables

 o DEBUG
 public static final boolean DEBUG
Turn debug printing on or off.

Constructors

 o b_NonZero_s
 public b_NonZero_s(NodeScalar im1)
Instantiate a b_NonZero_s schema.

Parameters:
im1 - NodeScalar the embedded node that generates a scalar to be detected if non zero.

Methods

 o Value
 public boolean Value(long timestamp)
Return a boolean indicating if the embedded node output is NonZero.

Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
true if NonZero, false if not.
Overrides:
Value in class NodeBoolean

All Packages  Class Hierarchy  This Package  Previous  Next  Index