EDU.gatech.cc.is.clay
Class b_NonNegative_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_NonNegative_s

public class b_NonNegative_s
extends NodeBoolean

True if embedded node is non-Negative.

For detailed information on how to configure behaviors, see the Clay page.

Copyright (c)1997, 1998 Tucker Balch


Field Summary
static boolean DEBUG
          Turn debug printing on or off.
 
Fields inherited from class EDU.gatech.cc.is.clay.Node
DEBUG, embedded_nodes
 
Constructor Summary
b_NonNegative_s(NodeScalar im1)
          Instantiate a b_NonNegative_s schema.
 
Method Summary
 boolean Value(long timestamp)
          Return a boolean indicating if the embedded schema is non-Negative.
 
Methods inherited from class EDU.gatech.cc.is.clay.NodeBoolean
booleanValue, doubleValue, intValue
 
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
 

Field Detail

DEBUG

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

b_NonNegative_s

public b_NonNegative_s(NodeScalar im1)
Instantiate a b_NonNegative_s schema.
Parameters:
im1 - NodeScalar, the embedded node that generates a scalar to be detected.
Method Detail

Value

public boolean Value(long timestamp)
Return a boolean indicating if the embedded schema is non-Negative.
Overrides:
Value in class NodeBoolean
Parameters:
timestamp - long, only get new information if timestamp > than last call or timestamp == -1.
Returns:
true if non-Negative, false if otherwise.