Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for enterWhen (0.14 sec)

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

     *
     *   public V get() throws InterruptedException {
     *     monitor.enterWhen(valuePresent);
     *     try {
     *       V result = value;
     *       value = null;
     *       return result;
     *     } finally {
     *       monitor.leave();
     *     }
     *   }
     *
     *   public void set(V newValue) throws InterruptedException {
     *     monitor.enterWhen(valueAbsent);
     *     try {
     *       value = newValue;
     *     } finally {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 18:22:01 GMT 2023
    - 38.6K bytes
    - Viewed (0)
Back to top