Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for tailSet (0.07 sec)

  1. guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
        return delegate().tailSet(fromElement, inclusive);
      }
    
      /**
       * A sensible definition of {@link #tailSet(Object)} in terms of the {@link #tailSet(Object,
       * boolean)} method. If you override {@link #tailSet(Object, boolean)}, you may wish to override
       * {@link #tailSet(Object)} to forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

      }
    
      @Override
      public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
        return delegate().tailSet(fromElement, inclusive);
      }
    
      /**
       * A sensible definition of {@link #tailSet(Object)} in terms of the {@link #tailSet(Object,
       * boolean)} method. If you override {@link #tailSet(Object, boolean)}, you may wish to override
       * {@link #tailSet(Object)} to forward to this implementation.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(1)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(2)).containsExactly(2, 3).inOrder();
        assertThat(set.tailSet(3)).containsExactly(3).inOrder();
        assertThat(set.tailSet(Integer.MIN_VALUE, false)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(1, false)).containsExactly(2, 3).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)
  4. guava-tests/test/com/google/common/collect/ContiguousSetTest.java

        assertThat(set.tailSet(Integer.MIN_VALUE)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(1)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(2)).containsExactly(2, 3).inOrder();
        assertThat(set.tailSet(3)).containsExactly(3).inOrder();
        assertThat(set.tailSet(Integer.MIN_VALUE, false)).containsExactly(1, 2, 3).inOrder();
        assertThat(set.tailSet(1, false)).containsExactly(2, 3).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)
  5. guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

                .build();
        assertTrue(set.tailSet("california") instanceof ImmutableSortedSet);
        assertTrue(set.tailSet("fish") instanceof ImmutableSortedSet);
        assertThat(set.tailSet("fish")).containsExactly("over", "quick", "jumped").inOrder();
        assertThat(set.tailSet("a"))
            .containsExactly("a", "in", "the", "over", "quick", "jumped")
            .inOrder();
        assertTrue(set.tailSet("california").isEmpty());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java

        return subSet(fromElement, true, toElement, false);
      }
    
      @Override
      public SortedSet<E> tailSet(E fromElement) {
        return tailSet(fromElement, true);
      }
    
      @Override
      public NavigableSet<E> tailSet(E fromElement, boolean inclusive) {
        return new SafeTreeSet<>(delegate.tailSet(checkValid(fromElement), inclusive));
      }
    
      @Override
      public Object[] toArray() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

          return emptySet(comparator());
        }
        return tailSet(fromElement, fromInclusive).headSet(toElement, toInclusive);
      }
    
      @Override
      public ImmutableSortedSet<E> tailSet(E fromElement) {
        checkNotNull(fromElement);
        try {
          return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true);
        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/SortedMultisets.java

        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return multiset().headMultiset(toElement, OPEN).elementSet();
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
          return multiset().tailMultiset(fromElement, CLOSED).elementSet();
        }
    
        @Override
        @ParametricNullness
        public E first() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

        ImmutableSortedSet<Integer> asSet = RANGE_SET_ONE.asSet(DiscreteDomain.integers());
    
        for (int i = 0; i <= 20; i++) {
          assertEquals(asSet.tailSet(i, false), expectedSet.tailSet(i, false));
          assertEquals(asSet.tailSet(i, true), expectedSet.tailSet(i, true));
        }
      }
    
      public void testAsSetSubSet() {
        ImmutableSortedSet<Integer> expectedSet = ImmutableSortedSet.of(2, 3, 4, 8, 9, 16, 17);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

          return new FilteredSortedSet<>(((SortedSet<E>) unfiltered).headSet(toElement), predicate);
        }
    
        @Override
        public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
          return new FilteredSortedSet<>(((SortedSet<E>) unfiltered).tailSet(fromElement), predicate);
        }
    
        @Override
        @ParametricNullness
        public E first() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top