Interface Split

All Superinterfaces:
AutoCloseable, Closeable

@Internal @ParametersAreNonnullByDefault public interface Split extends Closeable
Represents a split time associated with a timer. To record the end of a split, call close().
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Default implementation stops the Split.
    @NonNull Split
    Stops the timing split.
  • Method Details

    • stop

      @NonNull Split stop()
      Stops the timing split. This method is also called by close().
      Returns:
      this instance
    • close

      default void close()
      Default implementation stops the Split.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable
      Since:
      7.0