|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 TimeSource
public long getStartTime()
TimeSource
getStartTime
in interface TimeSource
public long getCurrentTime()
TimeSource
getCurrentTime
in interface TimeSource
public void reset()
TimeSource
reset
in interface TimeSource
public long getNanoTime()
TimeSource
System.nanoTime()
for more information
getNanoTime
in interface TimeSource
public void basherEvent(BasherEvent basherEvent)
basherEvent
in interface BasherEventListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |