StopWatchHelper

public final class StopWatchHelper

A helper that allows to easily restart the Apache commons stop watch.

Methods

restart

public static void restart(StopWatch stopWatch)

Restarts the provided StopWatch by calling StopWatch.reset() and StopWatch.start() on it.

Parameters:
  • stopWatch – the stop watch to restart