net.sourceforge.jabm
Class SimulationTime

java.lang.Object
  extended by net.sourceforge.jabm.SimulationTime
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SimulationTime>

public class SimulationTime
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<SimulationTime>

See Also:
Serialized Form
 

Field Summary
protected  long ticks
           
 
Constructor Summary
SimulationTime(long ticks)
           
 
Method Summary
 int compareTo(SimulationTime other)
           
 long getTicks()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ticks

protected long ticks
Constructor Detail

SimulationTime

public SimulationTime(long ticks)
Method Detail

compareTo

public int compareTo(SimulationTime other)
Specified by:
compareTo in interface java.lang.Comparable<SimulationTime>

getTicks

public long getTicks()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object