|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectdrcl.util.MiscUtil
Containing miscellaneous utility methods.
For utility methods regarding numbers, object cloning and comparison,
and string manipulation, see NumberUtil, ObjectUtil and
StringUtil respectively.
| Constructor Summary | |
MiscUtil()
|
|
| Method Summary | |
static void |
markTime()
Marks the current time for calculate time elapsed in timeElapsed(). |
static double |
timeElapsed()
Returns the wall time (in second) elapsed since last time marked. |
static double |
timeElapsed(long pastReferencePoint_)
Returns the wall time (in second) elapsed since pastReferencePoint_. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MiscUtil()
| Method Detail |
public static double timeElapsed(long pastReferencePoint_)
pastReferencePoint_.
This method uses java.lang.System.currentTimeMillis() to obtain the current time.
pastReferencePoint_ - past time instance in ms.public static void markTime()
timeElapsed().
public static double timeElapsed()
java.lang.System.currentTimeMillis() to obtain the current time.
|
J-Sim v1.2.1-p7 API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||