Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testRemoveUnsupported (0.07 sec)

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

        assertThrows(
            UnsupportedOperationException.class,
            () -> rangeSet.addAll(ImmutableRangeSet.<Integer>of()));
      }
    
      @SuppressWarnings("DoNotCall")
      public void testRemoveUnsupported() {
        RangeSet<Integer> rangeSet =
            ImmutableRangeSet.<Integer>builder()
                .add(Range.closed(5, 8))
                .add(Range.closedOpen(1, 3))
                .build();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 21.5K bytes
    - Viewed (0)
Back to top