numbers
Class BootStrapInt

java.lang.Object
  |
  +--numbers.BootStrapInt
All Implemented Interfaces:
NumberBootStrapper

public class BootStrapInt
extends java.lang.Object
implements NumberBootStrapper

This doesn't do anything. It just demonstrates a new way that NumberBootStrapper could be implemented. For a functional form of intelligent data see BootStrapFloat

See Also:
BootStrapFloat

Field Summary
private  int value
           
 
Fields inherited from interface numbers.NumberBootStrapper
ADDEDTO, GET, MODNOUN, PUT, ROUND, VALUE, VARIABLE
 
Constructor Summary
BootStrapInt()
           
BootStrapInt(int val)
           
 
Method Summary
 ACommunication getCommunication(TreeNode command)
          This is the abstract method that any piece of this type of intelligent data must override.
 int intValue()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

value

private int value
Constructor Detail

BootStrapInt

public BootStrapInt()

BootStrapInt

public BootStrapInt(int val)
Method Detail

intValue

public int intValue()

getCommunication

public ACommunication getCommunication(TreeNode command)
Description copied from interface: NumberBootStrapper
This is the abstract method that any piece of this type of intelligent data must override. It takes the root of an instruction tree and returns an ACommunication object whose execute method should preform the tasks described in the tree.
Specified by:
getCommunication in interface NumberBootStrapper