Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for compareAndUpdateState (0.13 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
      }
    
      private void checkAndUpdateState(State oldState, State newState) {
        checkState(
            compareAndUpdateState(oldState, newState),
            "Expected state to be %s, but it was %s",
            oldState,
            newState);
      }
    
      private boolean compareAndUpdateState(State oldState, State newState) {
        return state.compareAndSet(oldState, newState);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
Back to top