Interface Stopwatch.Durations

All Known Subinterfaces:
Stopwatch.StopwatchSet
All Known Implementing Classes:
Stopwatch.BaseDurations, Stopwatch.MultipleDurations, Stopwatch.SingleDuration
Enclosing class:
Stopwatch

@ThreadSafe public static interface Stopwatch.Durations
The average and total durations as measured by one or more stopwatches.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the statistics for the durations in nanoseconds.
  • Method Details

    • statistics

      Stopwatch.Statistics statistics()
      Get the statistics for the durations in nanoseconds.
      Returns:
      the statistics; never null