|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmauda.evaluation.OpTimeStamp
public class OpTimeStamp
Stores time-stamp-information for a specific operation, and is needed in Evaluation-Editor and Evaluation-Player
| Constructor Summary | |
|---|---|
OpTimeStamp()
Creates a new time-stamp |
|
| Method Summary | |
|---|---|
void |
addStart(long s)
Adds a start-timestamp to the current timestamps of this operation. |
void |
addStop(long s)
Adds a stop-timestamp to the current timestamps of this operation. |
void |
clear()
Clears all time-stamps that are associated with this operation. |
long |
getStart()
Gets the first start-time |
long |
getStop()
Gets the last stop-time |
java.util.Vector |
getTimeStamps()
Returns the time-stamps of this operation. |
void |
load(java.util.HashMap hm)
Loads this time-stamp with the parameter from the HashMap- representation, which was stored in a xml-file. |
java.util.HashMap |
save()
Converts this time-stamp in saveable representation for storage in a xml-file. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OpTimeStamp()
| Method Detail |
|---|
public void addStart(long s)
s - time-stamppublic void addStop(long s)
s - time-stamppublic java.util.Vector getTimeStamps()
public void clear()
public long getStart()
public long getStop()
public java.util.HashMap save()
public void load(java.util.HashMap hm)
hm - HashMap from xml-file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||