|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.basher.internal.impl.TimeSourceImpl
public class TimeSourceImpl
| Constructor Summary | |
|---|---|
TimeSourceImpl()
|
|
| Method Summary | |
|---|---|
void |
basherEvent(BasherEvent basherEvent)
|
long |
getCurrentTime()
Returns the current time in the system. |
long |
getElapsedTime()
Returns the elapsed time of the running system. |
long |
getNanoTime()
Produces the current nanontime. |
long |
getStartTime()
Returns the time the system was started. |
void |
reset()
Resets the internal time. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TimeSourceImpl()
| Method Detail |
|---|
public long getElapsedTime()
TimeSource
getElapsedTime in interface TimeSourcepublic long getStartTime()
TimeSource
getStartTime in interface TimeSourcepublic long getCurrentTime()
TimeSource
getCurrentTime in interface TimeSourcepublic void reset()
TimeSource
reset in interface TimeSourcepublic long getNanoTime()
TimeSourceSystem.nanoTime() for more information
getNanoTime in interface TimeSourcepublic void basherEvent(BasherEvent basherEvent)
basherEvent in interface BasherEventListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||