hussam.math.operations.dataBase
Class OperatorFactoryDB.CommaOperand

java.lang.Object
extended by hussam.math.operations.Operand
extended by hussam.math.operations.dataBase.OperatorFactoryDB.CommaOperand
All Implemented Interfaces:
Operation, Operator, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<Operator>
Enclosing class:
OperatorFactoryDB

public static class OperatorFactoryDB.CommaOperand
extends Operand

This class was used in previous Versions of the ExpressionReader implementations. (MyExpressionReader class, MyReader class) The current version of ExpressionReader which is The SmartExpressionReader does not use the comma as an operation! This inner class is still available for future development. This class can be used in the future for different ExpressionReaders implementations.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface hussam.math.operations.Operator
COMMA, FUNCTION, INDEFINITE, LOGICAL, MULTIPLY, NOTHING, PLUS, POWER
 
Method Summary
 java.util.List<Operation>getLinkedOperations()
          Returns all operations linked consequtavly by a series of Commas
 doubleresult()
          returns the result of the operation.
 java.lang.StringtoString()
          Describes this Source.
 
Methods inherited from class hussam.math.operations.Operand
checkReady, clone, compareTo, getName, getNext, getPrevious, getType, optimize, set, setNext, setPrevious
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

result

public double result()
Description copied from interface: Operation
returns the result of the operation.

Returns:
The result value.

getLinkedOperations

public java.util.List<Operation> getLinkedOperations()
Returns all operations linked consequtavly by a series of Commas

Returns:
returns all operations seperated by commas

toString

public java.lang.String toString()
Describes this Source.

Overrides:
toString in class Operand
Returns:
a description