EDU.gatech.cc.is.clay
Class b_Equal_i
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_Equal_i
- public class b_Equal_i
- extends NodeBoolean
Return true if the value of embedded node equals a set integer value.
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. |
Constructor Summary |
b_Equal_i(int t,
NodeInt im1)
Instantiate a b_Equal_i schema. |
Method Summary |
boolean |
Value(long timestamp)
Return a boolean indicating if the embedded schema
output is equal to a desired value. |
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 |
DEBUG
public static final boolean DEBUG
- Turn debug printing on or off.
b_Equal_i
public b_Equal_i(int t,
NodeInt im1)
- Instantiate a b_Equal_i schema.
- Parameters:
t
- int, the target value.im1
- NodeInt, the embedded node that generates an int
to be detected if equal to target.
Value
public boolean Value(long timestamp)
- Return a boolean indicating if the embedded schema
output is equal to a desired value.
- Overrides:
- Value in class NodeBoolean
- Parameters:
timestamp
- long, only get new information if timestamp > than last call
or timestamp == -1.- Returns:
- true if equal, false if not.