Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 420 for delegate (0.09 sec)

  1. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

        protected Object delegate;
    
        public BaseObject() {}
    
        public BaseObject(Object delegate, BaseObject parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
            this.childrenTracking = parent != null ? parent::replace : null;
        }
    
        public BaseObject(Object delegate, ChildrenTracking parent) {
            this.delegate = requireNonNull(delegate, "delegate cannot be null");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/test/java/org/apache/maven/cli/transfer/SimplexTransferListenerTest.java

            Thread.sleep(500); // to make sure queue is processed, cancellation applied
    
            Mockito.verify(delegate).transferInitiated(transferInitiatedEvent);
            Mockito.verify(delegate).transferStarted(transferStartedEvent);
            Mockito.verify(delegate).transferProgressed(transferProgressedEvent);
            Mockito.verify(delegate).transferSucceeded(transferSucceededEvent);
        }
    
        private static TransferEvent event(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/LegacyLocalRepositoryManager.java

        }
    
        private LegacyLocalRepositoryManager(ArtifactRepository delegate) {
            this.delegate = Objects.requireNonNull(delegate, "delegate cannot be null");
    
            ArtifactRepositoryLayout layout = delegate.getLayout();
            repo = new LocalRepository(
                    new File(delegate.getBasedir()),
                    (layout != null) ? layout.getClass().getSimpleName() : "legacy");
    
            /*
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

      public static final class NavigableSetSubsetTestSetGenerator<E>
          extends SortedSetSubsetTestSetGenerator<E> {
        public NavigableSetSubsetTestSetGenerator(
            TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
          super(delegate, to, from);
        }
    
        @Override
        NavigableSet<E> createSubSet(SortedSet<E> sortedSet, E firstExclusive, E lastExclusive) {
          NavigableSet<E> set = (NavigableSet<E>) sortedSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

        private final SettingsStaxWriter delegate;
    
        public SettingsXpp3Writer() {
            delegate = new SettingsStaxWriter();
            delegate.setAddLocationInformation(false);
        }
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
            delegate.setFileComment(fileComment);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

    public class SwitchableMetadataSource implements ArtifactMetadataSource {
        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        public void setDelegate(ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AbstractAbstractFutureTest.java

        assertThat(future.setFuture(delegate)).isTrue();
        assertThat(future.cancel(true /* mayInterruptIfRunning */)).isTrue();
        assertCancelled(future, true);
        assertCancelled(delegate, true);
      }
    
      public void testSetFutureDelegateAlreadySuccessful() throws Exception {
        delegate.set(5);
        assertThat(future.setFuture(delegate)).isTrue();
        assertSuccessful(future, 5);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 15:41:36 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        private final TestSortedSetGenerator<E> delegate;
    
        public SortedSetSubsetTestSetGenerator(
            TestSortedSetGenerator<E> delegate, Bound to, Bound from) {
          this.to = to;
          this.from = from;
          this.delegate = delegate;
    
          SortedSet<E> emptySet = delegate.create();
          this.comparator = emptySet.comparator();
    
          SampleElements<E> samples = delegate.samples();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. compat/maven-embedder/src/main/java/org/apache/maven/cli/transfer/SimplexTransferListener.java

        private final TransferListener delegate;
        private final int batchMaxSize;
        private final boolean blockOnLastEvent;
        private final ArrayBlockingQueue<Exchange> eventQueue;
    
        /**
         * Constructor that makes passed in delegate run on single thread, and will block on last event.
         */
        public SimplexTransferListener(TransferListener delegate) {
            this(delegate, QUEUE_SIZE, BATCH_MAX_SIZE, true);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java

        final Map<K, V> delegate;
    
        UnmodifiableIteratorMap(Map<K, V> delegate) {
          this.delegate = delegate;
        }
    
        @Override
        protected Map<K, V> delegate() {
          return delegate;
        }
    
        @Override
        public Set<K> keySet() {
          return new ForwardingSet<K>() {
            @Override
            protected Set<K> delegate() {
              return delegate.keySet();
            }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 12.3K bytes
    - Viewed (0)
Back to top