Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for tailSet (0.72 sec)

  1. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. 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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ForwardingSortedSet.java

        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
      public SortedSet<E> tailSet(@ParametricNullness E fromElement) {
        return delegate().tailSet(fromElement);
      }
    
      /**
       * A sensible definition of {@link #contains} in terms of the {@code first()} method of {@link
       * #tailSet}. If you override {@link #tailSet}, you may wish to override {@link #contains} to
       * forward to this implementation.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  4. 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);
      }
    
      public ImmutableSortedSet<E> tailSet(E fromElement) {
        checkNotNull(fromElement);
        try {
          return unsafeDelegateSortedSet(sortedDelegate.tailSet(fromElement), true);
        } catch (IllegalArgumentException e) {
          return emptySet(comparator());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/NavigableSetTestSuiteBuilder.java

          if (from == Bound.NO_BOUND && to == Bound.INCLUSIVE) {
            return set.headSet(lastInclusive, true);
          } else if (from == Bound.EXCLUSIVE && to == Bound.NO_BOUND) {
            return set.tailSet(firstExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.EXCLUSIVE) {
            return set.subSet(firstExclusive, false, lastExclusive, false);
          } else if (from == Bound.EXCLUSIVE && to == Bound.INCLUSIVE) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

        @Override
        protected SortedSet<String> create(String[] elements) {
          List<String> list = Lists.newArrayList(elements);
          list.add("\0");
          return ImmutableSortedSet.copyOf(list).tailSet("\0\0");
        }
      }
    
      public static class ImmutableSortedSetSubsetGenerator extends TestStringSortedSetGenerator {
        @Override
        protected SortedSet<String> create(String[] elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 15.5K bytes
    - Viewed (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() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 77.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ContiguousSet.java

        return subSetImpl(fromElement, fromInclusive, toElement, toInclusive);
      }
    
      @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);
      }
    
      /*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  9. 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));
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 48K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/DescendingImmutableSortedSet.java

      }
    
      @Override
      public UnmodifiableIterator<E> iterator() {
        return forward.descendingIterator();
      }
    
      @Override
      ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
        return forward.tailSet(toElement, inclusive).descendingSet();
      }
    
      @Override
      ImmutableSortedSet<E> subSetImpl(
          E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top