Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for ImmutableList (0.09 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ImmutableList<? extends ListenableFuture<? extends Object>> inputs =
            ImmutableList.of(future1, future2, future3);
        ImmutableList<ListenableFuture<Object>> futures = inCompletionOrder(inputs);
        future2.set("1L");
        future1.set(2L);
        future3.set(3);
    
        ImmutableList<?> expected = ImmutableList.of("1L", 2L, 3);
        for (int i = 0; i < expected.size(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        ImmutableList<? extends ListenableFuture<? extends Object>> inputs =
            ImmutableList.of(future1, future2, future3);
        ImmutableList<ListenableFuture<Object>> futures = inCompletionOrder(inputs);
        future2.set("1L");
        future1.set(2L);
        future3.set(3);
    
        ImmutableList<?> expected = ImmutableList.of("1L", 2L, 3);
        for (int i = 0; i < expected.size(); i++) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 134K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * <p>Only for use by a {@link CombiningCallable} or {@link AsyncCombiningCallable} object.
       */
      public static final class Peeker {
        private final ImmutableList<ClosingFuture<?>> futures;
        private volatile boolean beingCalled;
    
        private Peeker(ImmutableList<ClosingFuture<?>> futures) {
          this.futures = checkNotNull(futures);
        }
    
        /**
         * Returns the value of {@code closingFuture}.
         *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 101.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/cache/LocalCacheTest.java

          List<ReferenceEntry<K, V>> writeOrder) {
        if (map.evictsBySize() || map.expiresAfterAccess()) {
          assertSameEntries(readOrder, ImmutableList.copyOf(segment.accessQueue));
        }
        if (map.expiresAfterWrite()) {
          assertSameEntries(writeOrder, ImmutableList.copyOf(segment.writeQueue));
        }
      }
    
      private static <K, V> void assertSameEntries(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
Back to Top