Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for newDelegate (0.15 sec)

  1. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/BaseObject.java

            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
            }
        }
    
        protected boolean replace(Object oldDelegate, Object newDelegate) {
            return false;
        }
    
        @FunctionalInterface
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
            }
        }
    
        protected boolean replace(Object oldDelegate, Object newDelegate) {
            return false;
        }
    
        @FunctionalInterface
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. compat/maven-settings/src/main/java/org/apache/maven/settings/BaseObject.java

            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
            }
        }
    
        protected boolean replace(Object oldDelegate, Object newDelegate) {
            return false;
        }
    
        @FunctionalInterface
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/BaseObject.java

            return delegate;
        }
    
        public void update(Object newDelegate) {
            if (delegate != newDelegate) {
                if (childrenTracking != null) {
                    childrenTracking.replace(delegate, newDelegate);
                }
                delegate = newDelegate;
            }
        }
    
        protected boolean replace(Object oldDelegate, Object newDelegate) {
            return false;
        }
    
        @FunctionalInterface
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/CompactHashSet.java

      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.elements = null;
        incrementModCount();
        return newDelegate;
      }
    
      @VisibleForTesting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/CompactHashSet.java

      Set<E> convertToHashFloodingResistantImplementation() {
        Set<E> newDelegate = createHashFloodingResistantDelegate(hashTableMask() + 1);
        for (int i = firstEntryIndex(); i >= 0; i = getSuccessor(i)) {
          newDelegate.add(element(i));
        }
        this.table = newDelegate;
        this.entries = null;
        this.elements = null;
        incrementModCount();
        return newDelegate;
      }
    
      @VisibleForTesting
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UntrustedInputFutureTest.java

     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    public class UntrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<Integer> newDelegate() {
        AbstractFuture<Integer> future = new AbstractFuture<Integer>() {};
        assertFalse(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/TrustedInputFutureTest.java

     * AbstractFuture#setFuture} calls.
     */
    @GwtCompatible
    public class TrustedInputFutureTest extends AbstractAbstractFutureTest {
      @Override
      AbstractFuture<Integer> newDelegate() {
        AbstractFuture<Integer> future = new TrustedFuture<Integer>() {};
        assertTrue(future instanceof TrustedFuture); // sanity check
        return future;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Dec 16 19:54:45 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

      private TestedFuture<Integer> future;
      private AbstractFuture<Integer> delegate;
    
      abstract AbstractFuture<Integer> newDelegate();
    
      @Override
      protected void setUp() {
        future = TestedFuture.create();
        delegate = newDelegate();
      }
    
      public void testPending() {
        assertPending(future);
      }
    
      public void testSuccessful() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
Back to top