Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testUniqueIndex_nullValue (0.08 seconds)

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

            });
      }
    
      public void testUniqueIndex_nullKey() {
        assertThrows(
            NullPointerException.class, () -> fluent(1, 2, 3).uniqueIndex(Functions.constant(null)));
      }
    
      public void testUniqueIndex_nullValue() {
        assertThrows(
            NullPointerException.class,
            () -> {
              ImmutableMap<Object, Integer> unused =
                  fluent(1, null, 2)
                      .uniqueIndex(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
Back to Top