Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for INCLUSIVE (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        ImmutableSortedSet<E> set = headSet(e, true);
        return !set.isEmpty() ? set.last() : null;
      }
    
      public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
        checkNotNull(toElement);
        if (inclusive) {
          E tmp = higher(toElement);
          if (tmp == null) {
            return this;
          }
          toElement = tmp;
        }
        return headSet(toElement);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/SortedMapTestSuiteBuilder.java

          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubmapSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      @Override
      protected SetTestSuiteBuilder<K> createDerivedKeySetSuite(TestSetGenerator<K> keySetGenerator) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public NavigableMap<K, V> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return asMap(set.headSet(toKey, inclusive), function);
        }
    
        @Override
        public NavigableMap<K, V> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
          return asMap(set.tailSet(fromKey, inclusive), function);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
    
        @Override
        public NavigableMap<K, V> headMap(@ParametricNullness K toKey, boolean inclusive) {
          return asMap(set.headSet(toKey, inclusive), function);
        }
    
        @Override
        public NavigableMap<K, V> tailMap(@ParametricNullness K fromKey, boolean inclusive) {
          return asMap(set.tailSet(fromKey, inclusive), function);
        }
    
        @Override
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 23 17:50:58 UTC 2025
    - 157.6K bytes
    - Viewed (0)
  6. 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
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 21:07:18 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. 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
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  8. 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
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. 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
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 22 18:14:49 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        @Override
        public NavigableSet<E> headSet(@ParametricNullness E toElement, boolean inclusive) {
          return filter(unfiltered().headSet(toElement, inclusive), predicate);
        }
    
        @Override
        public NavigableSet<E> tailSet(@ParametricNullness E fromElement, boolean inclusive) {
          return filter(unfiltered().tailSet(fromElement, inclusive), predicate);
        }
      }
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 18:35:44 UTC 2025
    - 81.6K bytes
    - Viewed (0)
Back to top