Package com.openinventor.meshvizxlm
Class MxTimeStamp
java.lang.Object
com.openinventor.meshvizxlm.MxTimeStamp
Manages an identifier that can be used as a time stamp.
This static class can be used to get a new value for a time stamp. Each call
to getTimeStamp()
increases the time stamp, so every call to this
method will return a new value. This class is useful (but only one possible
way) to implement the getTimeStamp
method of a MeshViz XLM interface.
Note: This class is not thread safe and should not be used in a
multi-threaded application.
-
Method Summary
-
Method Details
-
getTimeStamp
public static long getTimeStamp()Returns a new time stamp value.- Returns:
- a time stamp value
-