Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 61 for INCLUSIVE (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/SafeTreeMap.java

      @Override
      public SortedMap<K, V> headMap(K toKey) {
        return headMap(toKey, false);
      }
    
      @Override
      public NavigableMap<K, V> headMap(K toKey, boolean inclusive) {
        return new SafeTreeMap<>(delegate.headMap(checkValid(toKey), inclusive));
      }
    
      @Override
      public @Nullable Entry<K, V> higherEntry(K key) {
        return delegate.higherEntry(checkValid(key));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

        @Override
        public NavigableSet<V> headSet(@ParametricNullness V toElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().headSet(toElement, inclusive));
        }
    
        @Override
        public NavigableSet<V> tailSet(@ParametricNullness V fromElement, boolean inclusive) {
          return wrap(getSortedSetDelegate().tailSet(fromElement, inclusive));
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        ImmutableSortedSet<C> subSet(Range<C> range) {
          return subRangeSet(range).asSet(domain);
        }
    
        @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) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        } else {
          int k = 20;
          return BigInteger.valueOf(LongMath.factorial(k)).multiply(oldSlowFactorial(k, n));
        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedInts.java

      static int flip(int value) {
        return value ^ Integer.MIN_VALUE;
      }
    
      /**
       * Compares the two specified {@code int} values, treating them as unsigned values between {@code
       * 0} and {@code 2^32 - 1} inclusive.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Integer#compareUnsigned(int, int)} method instead.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Feb 09 16:22:33 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/SortedSetTestSuiteBuilder.java

          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.NO_BOUND, Bound.EXCLUSIVE));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.NO_BOUND));
          derivedSuites.add(createSubsetSuite(parentBuilder, Bound.INCLUSIVE, Bound.EXCLUSIVE));
        }
    
        return derivedSuites;
      }
    
      /**
       * Creates a suite whose set has some elements filtered out of view.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.9K bytes
    - Viewed (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;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top