Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for containsNoDuplicates (0.12 seconds)

  1. guava-tests/test/com/google/common/net/HttpHeadersTest.java

        ImmutableList.Builder<String> httpHeaders = ImmutableList.builder();
        for (Field field : httpHeadersFields()) {
          httpHeaders.add((String) field.get(null));
        }
        assertThat(httpHeaders.build()).containsNoDuplicates();
      }
    
      private static ImmutableSet<Field> httpHeadersFields() {
        ImmutableSet.Builder<Field> builder = ImmutableSet.builder();
        for (Field field : HttpHeaders.class.getDeclaredFields()) {
          /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 20:10:09 GMT 2026
    - 4.1K bytes
    - Click Count (0)
Back to Top