JMACS

org.jmacs.util
Class Timer.Params

java.lang.Object
  extended by org.jmacs.util.Timer.Params
All Implemented Interfaces:
Serializable
Enclosing class:
Timer

public static class Timer.Params
extends Object
implements Serializable

immutable parameters.

See Also:
Serialized Form

Constructor Summary
Timer.Params(long refBoundaryMillis, long periodMillis)
          creates new instance.
 
Method Summary
 boolean equals(Object obj)
          overrides Object.
 long getPeriodMillis()
          returns period/ms.
 long getRefBoundaryMillis()
          returns reference boundary/ms.
 int hashCode()
          overrides Object.
 String toString()
          overrides Object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Timer.Params

public Timer.Params(long refBoundaryMillis,
                    long periodMillis)
creates new instance.

Method Detail

getRefBoundaryMillis

public long getRefBoundaryMillis()
returns reference boundary/ms.


getPeriodMillis

public long getPeriodMillis()
returns period/ms.


equals

public boolean equals(Object obj)
overrides Object.

Overrides:
equals in class Object

hashCode

public int hashCode()
overrides Object.

Overrides:
hashCode in class Object

toString

public String toString()
overrides Object.

Overrides:
toString in class Object

JMACS

jmacs.org