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 Detail

      • 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