Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getOrInitSeenExceptions (0.3 sec)

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

        }
      }
    
      AggregateFutureState(int remainingFutures) {
        this.remaining = remainingFutures;
      }
    
      final Set<Throwable> getOrInitSeenExceptions() {
        /*
         * The initialization of seenExceptions has to be more complicated than we'd like. The simple
         * approach would be for each caller CAS it from null to a Set populated with its exception. But
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AggregateFutureState.java

      private @Nullable Set<Throwable> seenExceptions = null;
      private int remaining;
    
      AggregateFutureState(int remainingFutures) {
        this.remaining = remainingFutures;
      }
    
      final Set<Throwable> getOrInitSeenExceptions() {
        if (seenExceptions == null) {
          seenExceptions = newHashSet();
          addInitialException(seenExceptions);
        }
        return seenExceptions;
      }
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 08 20:30:27 GMT 2022
    - 1.7K bytes
    - Viewed (0)
Back to top