- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for EmptyIterator (0.05 seconds)
-
android/guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testGetOnlyElement_withDefault_empty() { Iterator<String> iterator = emptyIterator(); assertThat(getOnlyElement(iterator, "bar")).isEqualTo("bar"); } public void testGetOnlyElement_withDefault_empty_null() { Iterator<String> iterator = emptyIterator(); assertThat(Iterators.<@Nullable String>getOnlyElement(iterator, null)).isNull(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/IteratorsTest.java
} public void testGetOnlyElement_withDefault_empty() { Iterator<String> iterator = emptyIterator(); assertThat(getOnlyElement(iterator, "bar")).isEqualTo("bar"); } public void testGetOnlyElement_withDefault_empty_null() { Iterator<String> iterator = emptyIterator(); assertThat(Iterators.<@Nullable String>getOnlyElement(iterator, null)).isNull(); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 57.3K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() { return emptyListIterator(); } /** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/Iterators.java
/** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */ static <T extends @Nullable Object> UnmodifiableIterator<T> emptyIterator() { return emptyListIterator(); } /** * Returns the empty iterator. * * <p>The {@link Iterable} equivalent of this method is {@link ImmutableSet#of()}. */Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 16 12:42:11 GMT 2025 - 51.4K bytes - Click Count (0)