hussam.math.operations
Interface OperationGroup

All Superinterfaces:
Operation
All Known Implementing Classes:
MyGroup

public interface OperationGroup
extends Operation

This is an abstraction of a group of operations. You can see a group of operations in the form:

(5 , 7, x, 5+12)
As you can see they are seperated by commas.

See Also:
Function

Method Summary
 OperationgetOperation(int i)
          Returns the operation at the specified index.
 java.util.List<? extends Operation>getOperations()
          Returns the list of operations.
 
Methods inherited from interface hussam.math.operations.Operation
result
 

Method Detail

getOperations

java.util.List<? extends Operation> getOperations()
Returns the list of operations.

Returns:
The list of operations.

getOperation

Operation getOperation(int i)
Returns the operation at the specified index.

Parameters:
i - The index of the operation
Returns:
the operation.