- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 571 for delegate (0.08 sec)
-
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) -
android/guava-tests/test/com/google/common/collect/SynchronizedDequeTest.java
private final Deque<E> delegate = Lists.newLinkedList(); public final Object mutex = new Object[0]; // something Serializable @Override public boolean offer(E o) { assertTrue(Thread.holdsLock(mutex)); return delegate.offer(o); } @Override public @Nullable E poll() { assertTrue(Thread.holdsLock(mutex)); return delegate.poll(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 7.4K bytes - Viewed (0) -
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) -
guava-tests/test/com/google/common/collect/SynchronizedTableTest.java
return delegate.equals(o); } @Override public int hashCode() { assertTrue(Thread.holdsLock(mutex)); return delegate.hashCode(); } @Override public int size() { assertTrue(Thread.holdsLock(mutex)); return delegate.size(); } @Override public boolean isEmpty() { assertTrue(Thread.holdsLock(mutex)); return delegate.isEmpty(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Aug 06 17:23:04 UTC 2024 - 4.6K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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)