- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for asIterator (0.13 sec)
-
android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java
} public void testCopyOf_iterator_ordering() { SortedSet<String> set = copyOf(asIterator("e", "a", "f", "b", "d", "c")); assertThat(set).containsExactly("a", "b", "c", "d", "e", "f").inOrder(); } public void testCopyOf_iterator_ordering_dupes() { SortedSet<String> set = copyOf(asIterator("e", "a", "e", "f", "b", "b", "d", "a", "c"));
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 45.1K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
} try { for (Iterator<URL> it = classLoader .getResources("META-INF/maven/org.apache.maven.api.di.Inject") .asIterator(); it.hasNext(); ) { URL url = it.next(); List<String> lines; try (InputStream is = url.openStream();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Jun 11 07:23:04 UTC 2024 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Iterators.java
* an {@code Iterable} is impossible. However, the contents can be <i>copied</i> into a collection * using {@link Collections#list}. * * <p><b>Java 9 users:</b> use {@code enumeration.asIterator()} instead, unless it is important to * return an {@code UnmodifiableIterator} instead of a plain {@code Iterator}. */ public static <T extends @Nullable Object> UnmodifiableIterator<T> forEnumeration(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Iterators.java
* an {@code Iterable} is impossible. However, the contents can be <i>copied</i> into a collection * using {@link Collections#list}. * * <p><b>Java 9 users:</b> use {@code enumeration.asIterator()} instead, unless it is important to * return an {@code UnmodifiableIterator} instead of a plain {@code Iterator}. */ public static <T extends @Nullable Object> UnmodifiableIterator<T> forEnumeration(
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 03 14:46:32 UTC 2024 - 50.2K bytes - Viewed (0)