Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testHeadSet (0.04 sec)

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

        assertEquals(
            ImmutableSet.of(), ContiguousSet.create(Range.greaterThan(Integer.MAX_VALUE), integers()));
      }
    
      public void testHeadSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.headSet(1)).isEmpty();
        assertThat(set.headSet(2)).containsExactly(1).inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertEquals(
            ImmutableSet.of(), ContiguousSet.create(Range.greaterThan(Integer.MAX_VALUE), integers()));
      }
    
      public void testHeadSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.headSet(1)).isEmpty();
        assertThat(set.headSet(2)).containsExactly(1).inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19.6K bytes
    - Viewed (0)
Back to top