- Sort Score
- Result 10 results
- Languages All
Results 331 - 340 of 651 for iterators (0.07 sec)
-
guava-tests/test/com/google/common/collect/ForwardingListTest.java
return standardIndexOf(element); } @Override public int lastIndexOf(Object element) { return standardLastIndexOf(element); } @Override public Iterator<T> iterator() { return listIterator(); } @Override public ListIterator<T> listIterator() { return listIterator(0); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 15:49:06 UTC 2023 - 5.9K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hashing.java
* have the same bit length */ public static HashCode combineOrdered(Iterable<HashCode> hashCodes) { Iterator<HashCode> iterator = hashCodes.iterator(); checkArgument(iterator.hasNext(), "Must be at least 1 hash code to combine."); int bits = iterator.next().bits(); byte[] resultBytes = new byte[bits / 8]; for (HashCode hashCode : hashCodes) { byte[] nextBytes = hashCode.asBytes();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 19 16:02:36 UTC 2024 - 29.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
} /** * Returns a sequential {@link Stream} of the remaining contents of {@code iterator}. Do not use * {@code iterator} directly after passing it to this method. */ public static <T extends @Nullable Object> Stream<T> stream(Iterator<T> iterator) { return StreamSupport.stream(Spliterators.spliteratorUnknownSize(iterator, 0), false); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 31 14:20:11 UTC 2024 - 36.8K bytes - Viewed (0) -
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) -
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) -
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) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Fri Oct 11 21:11:58 UTC 2024 - 6.8K 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)