- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 649 for iterator (0.16 sec)
-
android/guava/src/com/google/common/collect/LinkedListMultimap.java
* {@link #replaceValues} attempts to preserve iteration order as much as possible. * * <p>The collections returned by {@link #keySet()} and {@link #asMap()} iterate through the keys in * the order they were first added to the multimap. Similarly, {@link #get}, {@link #removeAll}, and * {@link #replaceValues} return collections that iterate through the values in the order they wereRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 26.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java
@Override protected Iterator<E> newTargetIterator() { resetCollection(); return collection.iterator(); } @Override protected void verify(List<E> elements) { expectContents(elements); } }.test(); } public void testIteratorNoSuchElementException() { Iterator<E> iterator = collection.iterator(); while (iterator.hasNext()) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/AbstractBiMapTest.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableSet.java
protected @Nullable E standardHigher(@ParametricNullness E e) { return Iterators.getNext(tailSet(e, false).iterator(), null); } @Override public @Nullable E pollFirst() { return delegate().pollFirst(); } /** * A sensible definition of {@link #pollFirst} in terms of the {@code iterator} method. If you * override {@link #iterator} you may wish to override {@link #pollFirst} to forward to this
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 8.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
KeySet(Map<K, Collection<V>> subMap) { super(subMap); } @Override public Iterator<K> iterator() { Iterator<Entry<K, Collection<V>>> entryIterator = map().entrySet().iterator(); return new Iterator<K>() { @Nullable Entry<K, Collection<V>> entry; @Override public boolean hasNext() { return entryIterator.hasNext();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 12 15:51:57 UTC 2025 - 48.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
SmbFile parent = newParent(); FileEntry invalid = entry(invalidName, SmbConstants.TYPE_SHARE); FileEntry valid = entry("ok", SmbConstants.TYPE_SHARE); Iterator<FileEntry> delegate = Arrays.asList(invalid, valid).iterator(); ResourceFilter f = useFilter ? filter : null; if (useFilter) { when(filter.accept(any())).thenReturn(true); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/DirectedGraphConnections.java
} }; } @Override public Iterator<EndpointPair<N>> incidentEdgeIterator(N thisNode) { checkNotNull(thisNode); Iterator<EndpointPair<N>> resultWithDoubleSelfLoop; if (orderedNodeConnections == null) { resultWithDoubleSelfLoop = Iterators.concat( Iterators.transform( predecessors().iterator(),Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Jan 18 02:54:30 UTC 2025 - 17.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
Iterator<String> iterator = skip(list, 2).iterator(); assertThrows(IllegalStateException.class, () -> iterator.remove()); } public void testSkip_allOfImmutableList_modifiable() { List<String> list = ImmutableList.of("a", "b"); Iterator<String> iterator = skip(list, 2).iterator(); assertThrows(UnsupportedOperationException.class, () -> iterator.remove()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
import java.util.Collections; import java.util.Iterator; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * A utility for testing an Iterator implementation by comparing its behavior to that of a "known * good" reference implementation. In order to accomplish this, it's important to test a great * variety of sequences of the {@link Iterator#next}, {@link Iterator#hasNext} and {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
src/main/java/jcifs/util/transport/Transport.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 27.8K bytes - Viewed (0)