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 Time

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

Direct Known Subclasses:
  RealTime, UserTime

    public abstract class Time

extends Object

This interface is the framework for stopping the time of anything.

Author:
  Jens Keilwagen

Constructor Summary
`Time()` Creates a new time object and starts the clock.

Method Summary
`abstract double` | `getElapsedTime()` Returns the elapsed time since invoking the constructor.
`abstract 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

### Time

    public Time()

  Creates a new time object and starts the clock.

Method Detail

### getElapsedTime

    public abstract double getElapsedTime()

  Returns the elapsed time since invoking the constructor.

  Returns:
    the elapsed time in seconds

### reset

    public abstract void reset()

  Restarts the time stopping.

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