Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for DistinctVarargsChecker (0.1 seconds)

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

        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
        sort(list, c);
        assertThat(list).containsExactly(8, 6, 7, 5, 3, 0, 9).inOrder();
        reserializeAndAssert(c);
      }
    
      @SuppressWarnings("DistinctVarargsChecker") // test of buggy call
      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/OrderingTest.java

        List<Integer> list = asList(0, 3, 5, 6, 7, 8, 9);
        sort(list, c);
        assertThat(list).containsExactly(8, 6, 7, 5, 3, 0, 9).inOrder();
        reserializeAndAssert(c);
      }
    
      @SuppressWarnings("DistinctVarargsChecker") // test of buggy call
      public void testExplicit_withDuplicates() {
        assertThrows(IllegalArgumentException.class, () -> Ordering.explicit(1, 2, 3, 4, 2));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 42.8K bytes
    - Click Count (0)
Back to Top