Packages

class SimpleTimer extends HmsTimer[SimpleTimer]

Linear Supertypes
HmsTimer[SimpleTimer], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SimpleTimer
  2. HmsTimer
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SimpleTimer()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(t: HmsTimer[SimpleTimer]): SimpleTimer

    add 2 timers together

    add 2 timers together

    Definition Classes
    HmsTimer
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  7. def copy(e: List[Long] = Nil, m: List[Long] = Nil): SimpleTimer
    Definition Classes
    SimpleTimerHmsTimer
  8. val elapsedTimes: List[Long]

    elapsed times since for each stop

    elapsed times since for each stop

    Attributes
    protected
    Definition Classes
    HmsTimer
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(a: Any): Boolean
    Definition Classes
    SimpleTimer → AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def getTime: Long

    this method can be overridden for testing

    this method can be overridden for testing

    Attributes
    protected
    Definition Classes
    HmsTimer
  13. def hashCode(): Int
    Definition Classes
    SimpleTimer → AnyRef → Any
  14. def hms: String

    returns

    a formatted string showing the hours, minutes and seconds

    Definition Classes
    HmsTimer
  15. def hourMinutesSecondsMillis: (Long, Long, Long, Long)

    returns

    a tuple with the elapsed hours, minutes, seconds and millis

    Definition Classes
    HmsTimer
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def isStarted: Boolean

    returns

    true if this timer has been started

    Definition Classes
    HmsTimer
  18. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def neverStarted: Boolean

    returns

    true if this timer has never been started

    Definition Classes
    HmsTimer
  20. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  21. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. def restart: SimpleTimer

    restarts the Timer with no elapsed time

    restarts the Timer with no elapsed time

    Definition Classes
    HmsTimer
  23. def start: SimpleTimer

    starts the with new elapsed time

    starts the with new elapsed time

    Definition Classes
    HmsTimer
  24. val startedTimestamps: List[Long]

    each time the timer is started we add the current time to this list of times number of millis when instantiating the object using this Trait

    each time the timer is started we add the current time to this list of times number of millis when instantiating the object using this Trait

    Definition Classes
    HmsTimer
  25. def stop: SimpleTimer

    Stop the timer, store the number of elapsed millis and return a String representing the time as hour/minute/second/ms

    Stop the timer, store the number of elapsed millis and return a String representing the time as hour/minute/second/ms

    returns

    the elapsed time as a Long representing milliseconds

    Definition Classes
    HmsTimer
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def time: String

    returns

    a formatted string showing the hours, minutes, seconds and millis

    Definition Classes
    HmsTimer
  28. def toString(): String
    Definition Classes
    SimpleTimer → AnyRef → Any
  29. def totalMillis: Long
    Definition Classes
    HmsTimer
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from HmsTimer[SimpleTimer]

Inherited from AnyRef

Inherited from Any

Ungrouped