TimerImpl

class TimerImpl(val maxTime: Long) extends Timer
trait Timer
class Object
trait Matchable
class Any

Value members

Concrete methods

def currentTime(): Long
override def getCompletionPercentage: Double
Definition Classes
override def getRemainingTime: Double
Definition Classes
override def getTime: Double
Definition Classes
override def isExpired: Boolean
Definition Classes
override def isStopped: Boolean
Definition Classes
override def startTimer(): Unit
Definition Classes
override def stopTimer(): Unit
Definition Classes
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Returns:

a string representation of the object.

Definition Classes
Any

Inherited methods

Inherited from:
Timer

Concrete fields

var initialTime: Long
val maxTime: Long
var stopTime: Long