Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## de.jstacs.utils
Class RealTime

    java.lang.Object
      de.jstacs.utils.Time
          de.jstacs.utils.RealTime

    public class RealTime

extends Time

This is a very simple implementation of `Time`. It only uses the system time accessible by Java.

Author:
  Jens Keilwagen

Constructor Summary
`RealTime()`

Method Summary
`double` | `getElapsedTime()` Returns the elapsed time since invoking the constructor.
`void` | `reset()` Restarts the time stopping.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RealTime

    public RealTime()

Method Detail

### getElapsedTime

    public double getElapsedTime()

  Description copied from class: `Time`
  Returns the elapsed time since invoking the constructor.

  Specified by:
    `getElapsedTime` in class `Time`
  Returns:
    the elapsed time in seconds

### reset

    public void reset()

  Description copied from class: `Time`
  Restarts the time stopping.

  Specified by:
    `reset` in class `Time`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD