Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 16 of 16 for newDelegate (0.17 seconds)

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

     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    @NullUnmarked
    public class TrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<@Nullable Integer> newDelegate() {
        AbstractFuture<@Nullable Integer> future = new TrustedFuture<@Nullable Integer>() {};
        assertTrue(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 1.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/CompactHashMap.java

        Map<K, V> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.put(key(i), value(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.keys = null;
        this.values = null;
        incrementModCount();
        return newDelegate;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/CompactHashMap.java

        Map<K, V> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.put(key(i), value(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.keys = null;
        this.values = null;
        incrementModCount();
        return newDelegate;
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      @SuppressWarnings("initialization.field.uninitialized")
      private AbstractFuture<@Nullable Integer> delegate;
    
      abstract AbstractFuture<@Nullable Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 16.3K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

              throw new ConcurrentModificationException();
            }
          } else if (delegate.isEmpty()) {
            Collection<V> newDelegate = map.get(key);
            if (newDelegate != null) {
              delegate = newDelegate;
            }
          }
        }
    
        /**
         * If collection is empty, remove it from {@code AbstractMapBasedMultimap.this.map}. For
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

              throw new ConcurrentModificationException();
            }
          } else if (delegate.isEmpty()) {
            Collection<V> newDelegate = map.get(key);
            if (newDelegate != null) {
              delegate = newDelegate;
            }
          }
        }
    
        /**
         * If collection is empty, remove it from {@code AbstractMapBasedMultimap.this.map}. For
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
Back to Top