All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class EDU.gatech.cc.is.clay.b_NonZero_v

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_v

public class b_NonZero_v
extends NodeBoolean
Returns true if embedded schema Vec2 is is non-zero length.

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_v(NodeVec2)
Instantiate a b_NonZero_v schema.

Method Index

 o Value(long)
Return a boolean indicating if the embedded schema is non-zero.

Variables

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

Constructors

 o b_NonZero_v
 public b_NonZero_v(NodeVec2 im1)
Instantiate a b_NonZero_v schema.

Parameters:
im1 - NodeVec2, the embedded node that generates a vector to be detected.

Methods

 o Value
 public boolean Value(long timestamp)
Return a boolean indicating if the embedded schema is non-zero.

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

All Packages  Class Hierarchy  This Package  Previous  Next  Index