Interface Restartable


public interface Restartable
Any implementing instance's status can be set back that the instance's functionality can begin over again. For example an original counter, iterator, loop or set of flags is restored after it has been modified.

The Abortable interface's method Abortable.abort() may be used to skip any iterations left (in case of an implemented iterator or loop).

  • Method Summary

    Modifier and Type Method Description
    void restart()
    Sets the status of the instance so that operation with the instance can begin over again.
  • Method Details

    • restart

      void restart()
      Sets the status of the instance so that operation with the instance can begin over again.