Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 238 for inclusive (0.23 seconds)

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

        return create(Cut.aboveValue(lower), Cut.aboveValue(upper));
      }
    
      /**
       * Returns a range that contains any value from {@code lower} to {@code upper}, where each
       * endpoint may be either inclusive (closed) or exclusive (open).
       *
       * @throws IllegalArgumentException if {@code lower} is greater than {@code upper}
       * @throws ClassCastException if {@code lower} and {@code upper} are not mutually comparable
       * @since 14.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        }
    
        @Override
        ImmutableSortedSet<C> headSetImpl(C toElement, boolean inclusive) {
          return subSet(Range.upTo(toElement, BoundType.forBoolean(inclusive)));
        }
    
        @Override
        ImmutableSortedSet<C> subSetImpl(
            C fromElement, boolean fromInclusive, C toElement, boolean toInclusive) {
          if (!fromInclusive && !toInclusive && Range.compareOrThrow(fromElement, toElement) == 0) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 17 16:45:58 GMT 2026
    - 27.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/primitives/UnsignedInts.java

       * @since 23.1
       */
      public static void sort(int[] array) {
        checkNotNull(array);
        sort(array, 0, array.length);
      }
    
      /**
       * Sorts the array between {@code fromIndex} inclusive and {@code toIndex} exclusive, treating its
       * elements as unsigned 32-bit integers.
       *
       * @since 23.1
       */
      public static void sort(int[] array, int fromIndex, int toIndex) {
        checkNotNull(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 16:38:16 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Maps.java

            boolean fromInclusive,
            @ParametricNullness K toKey,
            boolean toInclusive) {
          return asMap(set.subSet(fromKey, fromInclusive, toKey, toInclusive), function);
        }
    
        @Override
        public NavigableMap<K, V> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return asMap(set.headSet(toKey, inclusive), function);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 157.6K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/Maps.java

            boolean fromInclusive,
            @ParametricNullness K toKey,
            boolean toInclusive) {
          return asMap(set.subSet(fromKey, fromInclusive, toKey, toInclusive), function);
        }
    
        @Override
        public NavigableMap<K, V> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return asMap(set.headSet(toKey, inclusive), function);
        }
    
        @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 163.4K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/primitives/Chars.java

       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code char} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 24.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/primitives/Shorts.java

       * value} is greater than {@code max}, {@code max} is returned.
       *
       * @param value the {@code short} value to constrain
       * @param min the lower bound (inclusive) of the range to constrain {@code value} to
       * @param max the upper bound (inclusive) of the range to constrain {@code value} to
       * @throws IllegalArgumentException if {@code min > max}
       * @since 21.0
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Oct 22 18:14:49 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

      public ImmutableSortedMap<K, V> headMap(K toKey) {
        checkNotNull(toKey);
        return newView(sortedDelegate.headMap(toKey));
      }
    
      ImmutableSortedMap<K, V> headMap(K toKey, boolean inclusive) {
        checkNotNull(toKey);
        if (inclusive) {
          K tmp = higher(toKey);
          if (tmp == null) {
            return this;
          }
          toKey = tmp;
        }
        return headMap(toKey);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 08 18:10:02 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/SortedLists.java

            // Of course, we have to use binary search to find the precise
            // breakpoint...
            int lower = foundIndex;
            int upper = list.size() - 1;
            // Everything between lower and upper inclusive compares at >= 0.
            while (lower < upper) {
              int middle = (lower + upper + 1) >>> 1;
              int c = comparator.compare(list.get(middle), key);
              if (c > 0) {
                upper = middle - 1;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/Sets.java

            @ParametricNullness E toElement,
            boolean toInclusive) {
          return filter(
              unfiltered().subSet(fromElement, fromInclusive, toElement, toInclusive), predicate);
        }
    
        @Override
        public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
          return filter(unfiltered().headSet(toElement, inclusive), predicate);
        }
    
        @Override
    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)
Back to Top