Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 49 for toElement (0.05 seconds)

  1. android/guava/src/com/google/common/collect/RegularImmutableSortedSet.java

      }
    
      @Override
      ImmutableSortedSet<E> headSetImpl(E toElement, boolean inclusive) {
        return getSubSet(0, headIndex(toElement, inclusive));
      }
    
      int headIndex(E toElement, boolean inclusive) {
        int index = Collections.binarySearch(elements, checkNotNull(toElement), comparator());
        if (index >= 0) {
          return inclusive ? index + 1 : index;
        } else {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ImmutableSortedSet.java

       * {@link IllegalArgumentException} if passed a {@code toElement} greater than an earlier {@code
       * toElement}. However, this method doesn't throw an exception in that situation, but instead
       * keeps the original {@code toElement}.
       */
      @Override
      public ImmutableSortedSet<E> headSet(E toElement) {
        return headSet(toElement, false);
      }
    
      /**
       * @since 12.0
       */
      @Override
    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)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            boolean fromInclusive,
            @ParametricNullness V toElement,
            boolean toInclusive) {
          return wrap(
              getSortedSetDelegate().subSet(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
        }
    
        @Override
    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)
  4. guava-tests/test/com/google/common/collect/ForwardingNavigableSetTest.java

        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public SortedSet<T> subSet(T fromElement, T toElement) {
          return standardSubSet(fromElement, toElement);
        }
    
        @Override
        public @Nullable T lower(T e) {
          return standardLower(e);
        }
    
        @Override
        public @Nullable T floor(T e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

            boolean fromInclusive,
            @ParametricNullness V toElement,
            boolean toInclusive) {
          return wrap(
              getSortedSetDelegate().subSet(fromElement, fromInclusive, toElement, toInclusive));
        }
    
        @Override
        public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
        }
    
        @Override
    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)
  6. android/guava/src/com/google/common/collect/EmptyContiguousSet.java

        throw new NoSuchElementException();
      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
        return this;
      }
    
      @Override
      ContiguousSet<C> tailSetImpl(C fromElement, boolean fromInclusive) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public SortedSet<E> subSet(E fromElement, E toElement) {
          synchronized (mutex) {
            return sortedSet(delegate().subSet(fromElement, toElement), mutex);
          }
        }
    
        @Override
        public SortedSet<E> headSet(E toElement) {
          synchronized (mutex) {
            return sortedSet(delegate().headSet(toElement), mutex);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 53K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/Synchronized.java

        }
    
        @Override
        public SortedSet<E> subSet(E fromElement, E toElement) {
          synchronized (mutex) {
            return sortedSet(delegate().subSet(fromElement, toElement), mutex);
          }
        }
    
        @Override
        public SortedSet<E> headSet(E toElement) {
          synchronized (mutex) {
            return sortedSet(delegate().headSet(toElement), mutex);
          }
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Aug 08 15:11:10 GMT 2025
    - 56.9K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/AbstractSortedMultiset.java

          BoundType fromBoundType,
          @ParametricNullness E toElement,
          BoundType toBoundType) {
        // These are checked elsewhere, but NullPointerTester wants them checked eagerly.
        checkNotNull(fromBoundType);
        checkNotNull(toBoundType);
        return tailMultiset(fromElement, fromBoundType).headMultiset(toElement, toBoundType);
      }
    
      abstract Iterator<Entry<E>> descendingEntryIterator();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/collect/ForwardingSortedSetTest.java

        }
    
        @Override
        public String toString() {
          return standardToString();
        }
    
        @Override
        public SortedSet<T> subSet(T fromElement, T toElement) {
          return standardSubSet(fromElement, toElement);
        }
      }
    
      @AndroidIncompatible // test-suite builders
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.1K bytes
    - Click Count (0)
Back to Top