Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for toElement (0.09 sec)

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

      }
    
      @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) {
        return forward.subSet(toElement, toInclusive, fromElement, fromInclusive).descendingSet();
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ForwardingSortedSet.java

      @Override
      public SortedSet<E> headSet(@ParametricNullness E toElement) {
        return delegate().headSet(toElement);
      }
    
      @Override
      @ParametricNullness
      public E last() {
        return delegate().last();
      }
    
      @Override
      public SortedSet<E> subSet(@ParametricNullness E fromElement, @ParametricNullness E toElement) {
        return delegate().subSet(fromElement, toElement);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 15:26:39 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      ContiguousSet<C> headSetImpl(C toElement, boolean inclusive) {
        return intersectionInCurrentDomain(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(cpovirk): Use a shared unsafeCompare method.
      ContiguousSet<C> subSetImpl(
          C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 39.1K bytes
    - Viewed (0)
  5. 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 {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. android/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) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. android/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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Sets.java

          return new FilteredSortedSet<>(
              ((SortedSet<E>) unfiltered).subSet(fromElement, toElement), predicate);
        }
    
        @Override
        public SortedSet<E> headSet(@ParametricNullness E toElement) {
          return new FilteredSortedSet<>(((SortedSet<E>) unfiltered).headSet(toElement), predicate);
        }
    
        @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. 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);
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedSetTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. android/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);
        }
      }
    
      public static Test suite() {
        TestSuite suite = new TestSuite();
    
        suite.addTestSuite(ForwardingSortedSetTest.class);
        suite.addTest(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top