Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for testTailSet (0.06 sec)

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

      }
    
      public void testHeadSet_tooSmall() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).headSet(0)).isEmpty();
      }
    
      public void testTailSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

                  filter(createUnfiltered(contents), EVEN).headSet(i));
            }
          }
        }
    
        @SuppressWarnings("unchecked")
        public void testTailSet() {
          for (List<Integer> contents : SAMPLE_INPUTS) {
            for (int i = 0; i < 10; i++) {
              assertEquals(
                  filter((C) createUnfiltered(contents).tailSet(i), EVEN),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

      }
    
      public void testHeadSet_tooSmall() {
        assertThat(ContiguousSet.create(Range.closed(1, 3), integers()).headSet(0)).isEmpty();
      }
    
      public void testTailSet() {
        ImmutableSortedSet<Integer> set = ContiguousSet.create(Range.closed(1, 3), integers());
        assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top