numbers
Class BootStrapFloat

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

public class BootStrapFloat
extends java.lang.Object
implements NumberBootStrapper


Field Summary
private  double value1
           
 
Fields inherited from interface numbers.NumberBootStrapper
ADDEDTO, GET, MODNOUN, PUT, ROUND, VALUE, VARIABLE
 
Constructor Summary
BootStrapFloat()
           
BootStrapFloat(double val)
           
 
Method Summary
 void add(BootStrapFloat other)
           
 void devide(BootStrapFloat other)
           
 double doubleValue()
           
 ACommunication getCommunication(TreeNode command)
          This is the abstract method that any piece of this type of intelligent data must override.
 double getValue()
           
 void multiply(BootStrapFloat other)
           
 void pow(BootStrapFloat other)
           
static BootStrapFloat round(double value, int decimal)
           
 void subtract(BootStrapFloat other)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Field Detail

value1

private double value1
Constructor Detail

BootStrapFloat

public BootStrapFloat()

BootStrapFloat

public BootStrapFloat(double val)
Method Detail

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

getValue

public double getValue()

doubleValue

public double doubleValue()

add

public void add(BootStrapFloat other)

subtract

public void subtract(BootStrapFloat other)

multiply

public void multiply(BootStrapFloat other)

devide

public void devide(BootStrapFloat other)

pow

public void pow(BootStrapFloat other)

round

public static BootStrapFloat round(double value,
                                   int decimal)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object