Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for tryEnterIf (0.07 seconds)

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

       *
       * <p><b>Note:</b> This method disregards the fairness setting of this monitor.
       *
       * @return whether the monitor was entered, which guarantees that the guard is now satisfied
       */
      public boolean tryEnterIf(Guard guard) {
        if (guard.monitor != this) {
          throw new IllegalMonitorStateException();
        }
        ReentrantLock lock = this.lock;
        if (!lock.tryLock()) {
          return false;
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 43.5K bytes
    - Click Count (0)
Back to Top