Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testUniqueIndex_nullKey (0.09 seconds)

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

                            public Integer apply(String input) {
                              return input.length();
                            }
                          });
            });
      }
    
      public void testUniqueIndex_nullKey() {
        assertThrows(
            NullPointerException.class, () -> fluent(1, 2, 3).uniqueIndex(Functions.constant(null)));
      }
    
      public void testUniqueIndex_nullValue() {
        assertThrows(
    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