|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.operation.SimpleOperation
public class SimpleOperation
The super-class of Operation and SubOperation
| Field Summary | |
|---|---|
static int |
NULL
Value for non-filled parameters, like it is in DELETE-MIN the case. |
| Constructor Summary | |
|---|---|
SimpleOperation(java.lang.String o,
int p1,
int p2)
Creates a SimpleOperation |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
|
int |
compare(java.lang.Object o1,
java.lang.Object o2)
|
boolean |
equals(java.lang.Object o)
|
void |
execute(java.lang.Object o)
Executes an operation on the data-structure. |
java.lang.String |
getID()
Gets the ID |
int |
getParameter1()
Gets the 1st parameter |
int |
getParameter2()
Gets the 2nd parameter |
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 java.lang.Object |
|---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int NULL
| Constructor Detail |
|---|
public SimpleOperation(java.lang.String o,
int p1,
int p2)
o - IDp1 - 1st parameterp2 - 2st parameter| Method Detail |
|---|
public java.lang.String getID()
public int getParameter1()
public int getParameter2()
public boolean equals(java.lang.Object o)
equals in interface java.util.Comparatorequals in class java.lang.Object
public int compare(java.lang.Object o1,
java.lang.Object o2)
compare in interface java.util.Comparatorpublic void execute(java.lang.Object o)
o - data-structurepublic java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String out()
public java.lang.String save()
public void load(java.lang.String opString)
opString - string-representation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||