- Sort Score
- Result 10 results
- Languages All
Results 281 - 290 of 651 for iterators (0.11 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java
this(scope); this.classpath = classpath; } // ------------------------------------------------------------------------------------------- public Iterator<ArtifactMetadata> iterator() { return classpath == null ? null : classpath.iterator(); } // ------------------------------------------------------------------------------------------- public ClasspathContainer add(ArtifactMetadata md) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
StringBuilder projectNames = new StringBuilder(); Iterator<MavenProject> iterator = projects.iterator(); while (iterator.hasNext()) { MavenProject project = iterator.next(); projectNames.append(project.getGroupId()).append(":").append(project.getArtifactId()); if (iterator.hasNext()) { projectNames.append(", "); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 18.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java
public void testAddAtIndexConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); getList().add(0, e3()); iterator.next(); }); } @ListFeature.Require(absent = SUPPORTS_ADD_WITH_INDEX) public void testAddAtIndex_unsupportedNotPresent() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 5.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMap.java
return ImmutableMap.this.isHashCodeFast(); } @Override UnmodifiableIterator<Entry<K, ImmutableSet<V>>> entryIterator() { final Iterator<Entry<K, V>> backingIterator = ImmutableMap.this.entrySet().iterator(); return new UnmodifiableIterator<Entry<K, ImmutableSet<V>>>() { @Override public boolean hasNext() { return backingIterator.hasNext(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 44.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/IncludesArtifactFilter.java
} public boolean include(Artifact artifact) { String id = artifact.getGroupId() + ":" + artifact.getArtifactId(); boolean matched = false; for (Iterator<String> i = patterns.iterator(); i.hasNext() & !matched; ) { // TODO what about wildcards? Just specifying groups? versions? if (id.equals(i.next())) { matched = true; } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
} public void testIteratorPastEndException() { MinMaxPriorityQueue<Integer> mmHeap = MinMaxPriorityQueue.create(); mmHeap.addAll(Lists.newArrayList(1, 2)); Iterator<Integer> it = mmHeap.iterator(); assertTrue("Iterator has reached end prematurely", it.hasNext()); it.next(); it.next(); assertThrows(NoSuchElementException.class, () -> it.next()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35.9K bytes - Viewed (0) -
src/test/java/jcifs/tests/AllTests.java
try { Path configDir = Paths.get(System.getProperty(TestProperties.TEST_CONFIG_DIR)); Iterator<Path> it = Files.newDirectoryStream(configDir).iterator(); while ( it.hasNext() ) { Path config = it.next(); loadConfigFile(config, applyMutations, configs); }
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Jul 07 10:52:42 UTC 2020 - 14.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/composition/DefaultDependencyManagementImporter.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/eventbus/DispatcherTest.java
private Dispatcher dispatcher; public void testPerThreadQueuedDispatcher() { dispatcher = Dispatcher.perThreadDispatchQueue(); dispatcher.dispatch(1, integerSubscribers.iterator()); assertThat(dispatchedSubscribers) .containsExactly( i1, i2, i3, // Integer subscribers are dispatched to first. s1,
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 27 15:41:25 UTC 2022 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/graph/MapIteratorCache.java
} final Set<K> unmodifiableKeySet() { return new AbstractSet<K>() { @Override public UnmodifiableIterator<K> iterator() { Iterator<Entry<K, V>> entryIterator = backingMap.entrySet().iterator(); return new UnmodifiableIterator<K>() { @Override public boolean hasNext() { return entryIterator.hasNext(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 06 00:47:57 UTC 2021 - 4.7K bytes - Viewed (0)