Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for testGetLast_withDefault_multiple (0.17 seconds)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

      public void testGetLast_withDefault_empty_null() {
        Iterable<String> iterable = emptyList();
        assertThat(Iterables.<@Nullable String>getLast(iterable, null)).isNull();
      }
    
      public void testGetLast_withDefault_multiple() {
        Iterable<String> iterable = asList("foo", "bar");
        assertThat(Iterables.getLast(iterable, "qux")).isEqualTo("bar");
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 47.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/IteratorsTest.java

    cpovirk <******@****.***> 1773406752 -0700
    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-tests/test/com/google/common/collect/IteratorsTest.java

    cpovirk <******@****.***> 1773406752 -0700
    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)
Back to Top