- Sort Score
- Result 10 results
- Languages All
Results 291 - 300 of 722 for Iterator (0.05 sec)
-
android/guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
URL url = getClass().getResource(resourceName); for (String line : Resources.readLines(url, UTF_8)) { Iterator<String> iterator = splitter.split(line).iterator(); String input = iterator.next(); String expectedOutput = iterator.next(); assertFalse(iterator.hasNext()); assertEquals(expectedOutput, simplifyPath(input)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java
URL url = getClass().getResource(resourceName); for (String line : Resources.readLines(url, UTF_8)) { Iterator<String> iterator = splitter.split(line).iterator(); String input = iterator.next(); String expectedOutput = iterator.next(); assertFalse(iterator.hasNext()); assertEquals(expectedOutput, simplifyPath(input)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 14:28:19 UTC 2024 - 10.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableSortedSet.java
size(), SPLITERATOR_CHARACTERISTICS | Spliterator.SIZED) { final UnmodifiableIterator<E> iterator = iterator(); @Override public boolean tryAdvance(Consumer<? super E> action) { if (iterator.hasNext()) { action.accept(iterator.next()); return true; } else { return false; } } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 39.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingMultisetTest.java
return standardSetCount(element, count); } @Override public Set<T> elementSet() { return new StandardElementSet(); } @Override public Iterator<T> iterator() { return standardIterator(); } @Override public boolean isEmpty() { return standardIsEmpty(); } @Override public int size() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:05:46 UTC 2024 - 11.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableList.java
} return new RegularImmutableList<E>(elements, length); } ImmutableList() {} // This declaration is needed to make List.iterator() and // ImmutableCollection.iterator() consistent. @Override public UnmodifiableIterator<E> iterator() { return listIterator(); } @Override public UnmodifiableListIterator<E> listIterator() { return listIterator(0); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 21:21:17 UTC 2024 - 27.7K 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 Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
@ParameterizedTest @ArgumentsSource(FileSystemParamProvider::class) fun iterator(parameters: Pair<FileSystem, Boolean>) { setUp(parameters.first, parameters.second) set("a", "a1", "a2") set("b", "b1", "b2") set("c", "c1", "c2") val iterator = cache.snapshots() assertThat(iterator.hasNext()).isTrue() iterator.next().use { assertThat(it.key()).isEqualTo("a")
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 75.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java
@Override public UnmodifiableIterator<E> iterator() { Iterable<E> incidentEdges = (selfLoopCount == 0) ? Iterables.concat(inEdgeMap.keySet(), outEdgeMap.keySet()) : Sets.union(inEdgeMap.keySet(), outEdgeMap.keySet()); return Iterators.unmodifiableIterator(incidentEdges.iterator()); } @Override public int size() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 26 17:43:39 UTC 2021 - 4.5K bytes - Viewed (0) -
src/main/java/jcifs/EmptyIterator.java
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Tue Oct 16 10:32:35 UTC 2018 - 1.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TopKSelector.java
offerAll(elements.iterator()); } /** * Adds each member of {@code elements} as a candidate for the top {@code k} elements. This * operation takes amortized linear time in the length of {@code elements}. The iterator is * consumed after this operation completes. * * <p>If all input data to this {@code TopKSelector} is in a single {@code Iterator}, prefer
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 11.1K bytes - Viewed (0)