- Sort Score
- Result 10 results
- Languages All
Results 231 - 240 of 575 for Iterator (0.05 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java
private List<Restriction> intersection(List<Restriction> r1, List<Restriction> r2) { List<Restriction> restrictions = new ArrayList<>(r1.size() + r2.size()); Iterator<Restriction> i1 = r1.iterator(); Iterator<Restriction> i2 = r2.iterator(); Restriction res1 = i1.next(); Restriction res2 = i2.next(); boolean done = false; while (!done) {Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 19K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/multichannel/ChannelLoadBalancer.java
if (availableChannels.isEmpty()) { throw new NoAvailableChannelException("No healthy channels available"); } if (availableChannels.size() == 1) { return availableChannels.iterator().next(); } switch (strategy) { case ROUND_ROBIN: return selectRoundRobin(availableChannels); case LEAST_LOADED:Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListIterator.java
import java.util.ListIterator; import org.jspecify.annotations.Nullable; /** * A list iterator which forwards all its method calls to another list iterator. Subclasses should * override one or more methods to modify the behavior of the backing iterator as desired per the <a * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/GraphConnections.java
interface GraphConnections<N, V> { Set<N> adjacentNodes(); Set<N> predecessors(); Set<N> successors(); /** * Returns an iterator over the incident edges. * * @param thisNode The node that this all of the connections in this class are connected to. */ Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.4K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/ListIteratorTester.java
* target iterators on demand. It also requires three additional constructor parameters: {@code * elementsToInsert}, the elements to be passed to {@code set()} and {@code add()} calls; {@code * features}, the features supported by the iterator; and {@code expectedElements}, the elements the * iterator should return in order. *Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
} @Override UnmodifiableIterator<Entry<K, V>> entryIterator() { return new UnmodifiableIterator<Entry<K, V>>() { final Iterator<? extends Entry<K, ? extends ImmutableCollection<V>>> asMapItr = map.entrySet().iterator(); @Nullable K currentKey = null; Iterator<V> valueItr = emptyIterator(); @Override public boolean hasNext() { return valueItr.hasNext() || asMapItr.hasNext();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 28.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java
// Act: create iterator and enumerate DirFileEntryEnumIterator2 it = new DirFileEntryEnumIterator2(tree, parent, wildcard, (ResourceNameFilter) null, 0); // Assert: first page assertTrue(it.hasNext(), "Iterator should have first element"); assertSame(fe1, it.next(), "First element must match first page"); assertTrue(it.hasNext(), "Iterator should have second element");Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.7K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java
public void testRemoveAllSomePresentConcurrentWithIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<E> iterator = collection.iterator(); assertTrue(collection.removeAll(MinimalCollection.of(e0(), e3()))); iterator.next(); }); } /** Trigger the {@code other.size() >= this.size()} case in {@link AbstractSet#removeAll}. */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 7.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ArrayTable.java
* iteration ordering across rows and columns in the table's views. None of the view iterators * support {@link Iterator#remove}. If the table is modified after an iterator is created, the * iterator remains valid. * * <p>This class requires less memory than the {@link HashBasedTable} and {@link TreeBasedTable} * implementations, except when the table is sparse. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 19:39:21 UTC 2025 - 26.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingSet.java
} @Override public int hashCode() { return delegate().hashCode(); } /** * A sensible definition of {@link #removeAll} in terms of {@link #iterator} and {@link #remove}. * If you override {@code iterator} or {@code remove}, you may wish to override {@link #removeAll} * to forward to this implementation. * * @since 7.0 (this version overrides the {@code ForwardingCollection} version as of 12.0)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.7K bytes - Viewed (0)