Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for EmptyIterator (0.05 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
Back to Top