Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Reset (0.13 sec)

  1. guava/src/com/google/common/base/Stopwatch.java

      }
    
      /**
       * Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
       *
       * @return this {@code Stopwatch} instance
       */
      @CanIgnoreReturnValue
      public Stopwatch reset() {
        elapsedNanos = 0;
        isRunning = false;
        return this;
      }
    
      private long elapsedNanos() {
        return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
      }
    
      /**
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 23 15:09:35 GMT 2023
    - 9.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/Stopwatch.java

      }
    
      /**
       * Sets the elapsed time for this stopwatch to zero, and places it in a stopped state.
       *
       * @return this {@code Stopwatch} instance
       */
      @CanIgnoreReturnValue
      public Stopwatch reset() {
        elapsedNanos = 0;
        isRunning = false;
        return this;
      }
    
      private long elapsedNanos() {
        return isRunning ? ticker.read() - startTick + elapsedNanos : elapsedNanos;
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Nov 15 21:38:09 GMT 2022
    - 8.5K bytes
    - Viewed (0)
Back to top