- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for collectOneValue (0.07 seconds)
-
android/guava/src/com/google/common/util/concurrent/AggregateFuture.java
* cancelled. For details on when this is called, see {@link #collectOneValue}. */ private void collectValueFromNonCancelledFuture(int index, Future<? extends InputT> future) { try { // We get the result, even if collectOneValue is a no-op, so that we can fail fast. // We use getUninterruptibly over getDone as a micro-optimization, we know the future is done. collectOneValue(index, getUninterruptibly(future));Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 16K bytes - Click Count (0) -
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)); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0) -
android/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)); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 3.9K bytes - Click Count (0)