The Timer classis a straightforward periodic timer which increments its
clock in its own thread. It provides operationsfor starting, and stopping
timing, and reading the current time.
\begin{vdm_al} class Timer
\end{vdm_al}
The Timer has two instancevariables the current timeand a flag indicating
whether the Timer isactiveornot (the current timeis only incremented if the Timer isactive).
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.