Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 59 for tailSet (0.14 seconds)

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

      }
    
      @Override
      public ContiguousSet<C> tailSet(C fromElement) {
        return tailSetImpl(checkNotNull(fromElement), true);
      }
    
      /**
       * @since 12.0
       */
      @GwtIncompatible // NavigableSet
      @Override
      public ContiguousSet<C> tailSet(C fromElement, boolean inclusive) {
        return tailSetImpl(checkNotNull(fromElement), inclusive);
      }
    
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

              sortedMap().subMap(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement) {
          return tailSet(fromElement, true);
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement, boolean inclusive) {
          return new NavigableKeySet(sortedMap().tailMap(fromElement, inclusive));
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 48.4K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#tailSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}.
       */
      @Override
      public ImmutableSortedSet<E> tailSet(E fromElement) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 39.1K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ImmutableSortedSet.java

       *
       * <p>The {@link SortedSet#tailSet} documentation states that a subset of a subset throws an
       * {@link IllegalArgumentException} if passed a {@code fromElement} smaller than an earlier {@code
       * fromElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code fromElement}.
       */
      @Override
      public ImmutableSortedSet<E> tailSet(E fromElement) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 36.8K bytes
    - Click Count (0)
  5. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

              sortedMap().subMap(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement) {
          return tailSet(fromElement, true);
        }
    
        @Override
        public NavigableSet<K> tailSet(@ParametricNullness K fromElement, boolean inclusive) {
          return new NavigableKeySet(sortedMap().tailMap(fromElement, inclusive));
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Aug 12 15:51:57 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  7. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 81.4K bytes
    - Click Count (0)
  8. 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() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 83K bytes
    - Click Count (0)
  9. 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();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  10. android/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());
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 46.3K bytes
    - Click Count (0)
Back to Top