Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

        assertThat(set.tailSet("a")).containsExactly("b", "c", "d", "e", "f").inOrder();
        assertSame(this.<String>of(), set.tailSet("g"));
      }
    
      public void testOf_subSet() {
        SortedSet<String> set = of("e", "f", "b", "d", "c");
        assertTrue(set.subSet("c", "e") instanceof ImmutableSortedSet);
        assertThat(set.subSet("c", "e")).containsExactly("c", "d").inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
Back to top