com.planet_ink.coffee_mud.core
Class CMath.CompiledOperation

java.lang.Object
  extended by com.planet_ink.coffee_mud.core.CMath.CompiledOperation
Enclosing class:
CMath

public static final class CMath.CompiledOperation
extends java.lang.Object

A class representing a single piece of a compiled operation. Optomized for speed of execution rather than the obvious wastefulness of storage.


Field Summary
 java.util.LinkedList<CMath.CompiledOperation> list
           
 char operation
           
static int OPERATION_LIST
           
static int OPERATION_OPERATION
           
static int OPERATION_PREVIOUSVALUE
           
static int OPERATION_VALUE
           
static int OPERATION_VARIABLE
           
 int type
           
 double value
           
 int variableIndex
           
 
Constructor Summary
CMath.CompiledOperation()
           
CMath.CompiledOperation(char operation)
           
CMath.CompiledOperation(double value)
           
CMath.CompiledOperation(int variableIndex)
           
CMath.CompiledOperation(java.util.LinkedList<CMath.CompiledOperation> list)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPERATION_VARIABLE

public static final int OPERATION_VARIABLE
See Also:
Constant Field Values

OPERATION_VALUE

public static final int OPERATION_VALUE
See Also:
Constant Field Values

OPERATION_OPERATION

public static final int OPERATION_OPERATION
See Also:
Constant Field Values

OPERATION_LIST

public static final int OPERATION_LIST
See Also:
Constant Field Values

OPERATION_PREVIOUSVALUE

public static final int OPERATION_PREVIOUSVALUE
See Also:
Constant Field Values

type

public final int type

variableIndex

public int variableIndex

value

public double value

operation

public char operation

list

public java.util.LinkedList<CMath.CompiledOperation> list
Constructor Detail

CMath.CompiledOperation

public CMath.CompiledOperation(int variableIndex)

CMath.CompiledOperation

public CMath.CompiledOperation(double value)

CMath.CompiledOperation

public CMath.CompiledOperation(java.util.LinkedList<CMath.CompiledOperation> list)

CMath.CompiledOperation

public CMath.CompiledOperation(char operation)

CMath.CompiledOperation

public CMath.CompiledOperation()