|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.operation.SubOperationQueue
public class SubOperationQueue
Storage of a collection of multiple sub-operations.
Additionally this class has several usefull methods.
For Example:
- cloning
- load
- save
| Constructor Summary | |
|---|---|
SubOperationQueue()
Creates a SubOperationQueue |
|
| Method Summary | |
|---|---|
void |
add(SubOperation operation)
Adds a SubOperation |
void |
clear()
Clears this queue |
java.lang.Object |
clone()
|
SubOperation |
get(int index)
Gets a suboperation at the specified index |
int |
length()
Gets the length of the queue |
void |
load(java.util.Vector vector)
Loads this SubOperationQueue with the values from a vector- representation readed from e.g. a xml-file. |
void |
remove(int index)
Removes a suboperation at the specified index |
java.util.Vector |
save()
Converts this queue in a vector-representation for saving- purposes. |
java.lang.String |
toString()
|
java.util.Vector |
toVector()
Converts this queue in a vector |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SubOperationQueue()
| Method Detail |
|---|
public void add(SubOperation operation)
operation - suboperationpublic SubOperation get(int index)
index - Index
public int length()
public void remove(int index)
index - Indexpublic java.util.Vector toVector()
public void clear()
public java.lang.Object clone()
clone in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Vector save()
public void load(java.util.Vector vector)
vector - vector-representation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||