|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.operation.SimpleOperation
mauda.operation.SubOperation
public class SubOperation
Storage of a sub-operation (e.g. FibHeap -> link) with at most 2 parameters.
| Field Summary |
|---|
| Fields inherited from class mauda.operation.SimpleOperation |
|---|
NULL |
| Constructor Summary | |
|---|---|
SubOperation()
Creates a SubOperation |
|
SubOperation(java.lang.String id)
Creates a SubOperation |
|
SubOperation(java.lang.String id,
int param1)
Creates a SubOperation from an ID with one parameter |
|
SubOperation(java.lang.String id,
int param1,
int param2)
Creates a SubOperation from an ID with two parameters |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
void |
execute(java.lang.Object o)
Executes an operation on the data-structure. |
void |
load(java.lang.String opString)
Loads this operation from a string-representation |
java.lang.String |
out()
Creates a string-representation of this operation, that can be used in GUIs. |
java.lang.String |
save()
Creates a string-representation of this operation for saving- purposes. |
java.lang.String |
toString()
|
| Methods inherited from class mauda.operation.SimpleOperation |
|---|
compare, equals, getID, getParameter1, getParameter2 |
| Methods inherited from class java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubOperation()
public SubOperation(java.lang.String id)
id - suboperation-ID
public SubOperation(java.lang.String id,
int param1)
id - suboperation-IDparam1 - 1st parameter
public SubOperation(java.lang.String id,
int param1,
int param2)
id - suboperation-IDparam1 - 1st parameterparam2 - 2nd parameter| Method Detail |
|---|
public void execute(java.lang.Object o)
SimpleOperation
execute in class SimpleOperationo - data-structurepublic java.lang.Object clone()
clone in class SimpleOperationpublic void load(java.lang.String opString)
SimpleOperation
load in class SimpleOperationopString - string-representationpublic java.lang.String save()
SimpleOperation
save in class SimpleOperationpublic java.lang.String toString()
toString in class SimpleOperationpublic java.lang.String out()
SimpleOperation
out in class SimpleOperation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||