|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.dllearner.utilities.statistics.SimpleClock
public class SimpleClock
Class for counting time and outputting it.
| Constructor Summary | |
|---|---|
SimpleClock()
|
|
| Method Summary | |
|---|---|
String |
getAndSet(String s)
|
long |
getTime()
returns the needed time up to now in ms |
void |
print(String s)
prints time needed |
void |
printAndSet()
prints time needed and resets the clock |
void |
printAndSet(String s)
prints time needed and resets the clock |
void |
reset()
resets the clock |
void |
setTime()
resets the clock |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleClock()
| Method Detail |
|---|
public void printAndSet()
public void printAndSet(String s)
s - String for printingpublic String getAndSet(String s)
public void print(String s)
s - String for printingpublic void setTime()
public void reset()
public long getTime()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||