Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testImmutableSortedSetCopyOfIterator (0.18 sec)

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

        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
        assertThrows(ClassCastException.class, () -> ImmutableSortedSet.copyOf(original));
      }
    
      public void testImmutableSortedSetCopyOfIterator() {
        // false positive: `new Object()` is not equal to `new Object()`
        @SuppressWarnings("DistinctVarargsChecker")
        Set<Object> original = ImmutableSet.of(new Object(), new Object());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top