Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collectOneValue (0.07 sec)

  1. guava/src/com/google/common/util/concurrent/CollectionFuture.java

        // Populate the results list with null initially.
        for (int i = 0; i < futures.size(); ++i) {
          values.add(null);
        }
    
        this.values = values;
      }
    
      @Override
      final void collectOneValue(int index, @ParametricNullness V returnValue) {
        @RetainedLocalRef List<@Nullable Present<V>> localValues = values;
        if (localValues != null) {
          localValues.set(index, new Present<>(returnValue));
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top