Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for UpperBound (0.09 sec)

  1. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            if (lowerBoundInclusive != restriction.lowerBoundInclusive) {
                return false;
            }
    
            if (upperBound != null) {
                if (!upperBound.equals(restriction.upperBound)) {
                    return false;
                }
            } else if (restriction.upperBound != null) {
                return false;
            }
    
            return upperBoundInclusive == restriction.upperBoundInclusive;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

                }
                if (upperBound != null) {
                    if (restriction.getLowerBound() == null
                            || restriction.getLowerBound().compareTo(upperBound) < 0) {
                        throw new InvalidVersionSpecificationException("Ranges overlap: " + spec);
                    }
                }
                restrictions.add(restriction);
                upperBound = restriction.getUpperBound();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/TreeRangeMap.java

            Cut<K> upperBound = entry.getLowerBound();
            if (!lowerBound.equals(upperBound)) {
              gaps.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, upperBound, value));
            }
            lowerBound = entry.getUpperBound();
          }
          if (!lowerBound.equals(range.upperBound)) {
            gaps.put(lowerBound, new RangeMapEntry<K, V>(lowerBound, range.upperBound, value));
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeRangeMap.java

            upperBound = subRange.upperBound;
          } else {
            upperBound = upperEntry.getValue().getUpperBound();
          }
          return Range.create(lowerBound, upperBound);
        }
    
        @Override
        public void put(Range<K> range, V value) {
          checkArgument(
              subRange.encloses(range), "Cannot put range %s into a subRangeMap(%s)", range, subRange);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/UnmodifiableSortedMultiset.java

      @Override
      public SortedMultiset<E> headMultiset(@ParametricNullness E upperBound, BoundType boundType) {
        return Multisets.unmodifiableSortedMultiset(delegate().headMultiset(upperBound, boundType));
      }
    
      @Override
      public SortedMultiset<E> subMultiset(
          @ParametricNullness E lowerBound,
          BoundType lowerBoundType,
          @ParametricNullness E upperBound,
          BoundType upperBoundType) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/TreeBasedTable.java

        @CheckForNull final C upperBound;
    
        TreeRow(R rowKey) {
          this(rowKey, null, null);
        }
    
        TreeRow(R rowKey, @CheckForNull C lowerBound, @CheckForNull C upperBound) {
          super(rowKey);
          this.lowerBound = lowerBound;
          this.upperBound = upperBound;
          checkArgument(
              lowerBound == null || upperBound == null || compare(lowerBound, upperBound) <= 0);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ImmutableRangeSet.java

            lowerBound = (index == 0) ? Cut.<C>belowAll() : ranges.get(index - 1).upperBound;
          } else {
            lowerBound = ranges.get(index).upperBound;
          }
    
          Cut<C> upperBound;
          if (positiveBoundedAbove && index == size - 1) {
            upperBound = Cut.<C>aboveAll();
          } else {
            upperBound = ranges.get(index + (positiveBoundedBelow ? 0 : 1)).lowerBound;
          }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

            SortedLists.binarySearch(
                ranges,
                Range::upperBound,
                range.lowerBound,
                KeyPresentBehavior.FIRST_AFTER,
                KeyAbsentBehavior.NEXT_HIGHER);
        int upperIndex =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                range.upperBound,
                KeyPresentBehavior.ANY_PRESENT,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/RangeTest.java

        Cut<Integer> c = Range.greaterThan(0).lowerBound;
        Cut<Integer> d = Range.atLeast(1).lowerBound;
        Cut<Integer> e = Range.greaterThan(1).lowerBound;
        Cut<Integer> f = Range.greaterThan(1).upperBound;
    
        testCompareToAndEquals(ImmutableList.of(a, b, c, d, e, f));
      }
    
      @SuppressWarnings("DistinctVarargsChecker")
      public void testContainsAll() {
        Range<Integer> range = Range.closed(3, 5);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top