org.specs2.time

SimpleTimer

class SimpleTimer extends HmsTimer[SimpleTimer]

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

Instance Constructors

  1. new SimpleTimer ()

Value Members

  1. def != (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  2. def != (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  3. def ## (): Int

    Attributes
    final
    Definition Classes
    AnyRef → Any
  4. def == (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  5. def == (arg0: Any): Boolean

    Attributes
    final
    Definition Classes
    Any
  6. def add (t: SimpleTimer): SimpleTimer

  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def copy (e: Long = 0L, m: List[Long] = Nil): SimpleTimer

    Definition Classes
    SimpleTimer → HmsTimer
  10. val elapsed : Long

    elapsed time since the last stop

    elapsed time since the last stop

    Definition Classes
    HmsTimer
  11. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  12. def equals (a: Any): Boolean

    Definition Classes
    SimpleTimer → AnyRef → Any
  13. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  14. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  15. def getTime : Long

    this method can be overriden for testing

    this method can be overriden for testing

    Attributes
    protected
    Definition Classes
    HmsTimer
  16. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  17. def hms : String

    returns

    a formatted string showing the hours, minutes and seconds

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

    returns

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

    Definition Classes
    HmsTimer
  19. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  20. val millis : List[Long]

    current number of millis when instantiating the object using this Trait

    current number of millis when instantiating the object using this Trait

    Definition Classes
    HmsTimer
  21. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  22. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  23. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  24. def restart : SimpleTimer

    restarts the Timer with no elapsed time

    restarts the Timer with no elapsed time

    Definition Classes
    HmsTimer
  25. def start : SimpleTimer

    starts the with new elapsed time

    starts the with new elapsed time

    Definition Classes
    HmsTimer
  26. 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 String

    Definition Classes
    HmsTimer
  27. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  28. def time : String

    returns

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

    Definition Classes
    HmsTimer
  29. def toString (): String

    Definition Classes
    SimpleTimer → AnyRef → Any
  30. def wait (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  31. def wait (arg0: Long, arg1: Int): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  32. def wait (arg0: Long): Unit

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from HmsTimer[SimpleTimer]

Inherited from AnyRef

Inherited from Any