Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 7 of 7 for hasLowerBound (0.07 seconds)

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

      private @Nullable AvlNode<E> firstNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
        if (range.hasLowerBound()) {
          // The cast is safe because of the hasLowerBound check.
          E endpoint = uncheckedCastNullableTToT(range.getLowerEndpoint());
          node = root.ceiling(comparator(), endpoint);
          if (node == null) {
            return null;
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/TreeMultiset.java

      private @Nullable AvlNode<E> firstNode() {
        AvlNode<E> root = rootReference.get();
        if (root == null) {
          return null;
        }
        AvlNode<E> node;
        if (range.hasLowerBound()) {
          // The cast is safe because of the hasLowerBound check.
          E endpoint = uncheckedCastNullableTToT(range.getLowerEndpoint());
          node = root.ceiling(comparator(), endpoint);
          if (node == null) {
            return null;
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 34.3K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

        private final boolean positiveBoundedAbove;
    
        private final int size;
    
        ComplementRanges(ImmutableList<Range<C>> ranges) {
          this.ranges = ranges;
          this.positiveBoundedBelow = ranges.get(0).hasLowerBound();
          this.positiveBoundedAbove = Iterables.getLast(ranges).hasUpperBound();
    
          int size = ranges.size() - 1;
          if (positiveBoundedBelow) {
            size++;
          }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 27.5K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/Range.java

        }
      }
    
      /** Returns {@code true} if this range has a lower endpoint. */
      public boolean hasLowerBound() {
        return lowerBound != Cut.belowAll();
      }
    
      /**
       * Returns the lower endpoint of this range.
       *
       * @throws IllegalStateException if this range is unbounded below (that is, {@link
       *     #hasLowerBound()} returns {@code false})
       */
      public C lowerEndpoint() {
        return lowerBound.endpoint();
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 28K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/Sets.java

            && set.comparator() != Ordering.natural()
            && range.hasLowerBound()
            && range.hasUpperBound()) {
          checkArgument(
              set.comparator().compare(range.lowerEndpoint(), range.upperEndpoint()) <= 0,
              "set is using a custom comparator which is inconsistent with the natural ordering.");
        }
        if (range.hasLowerBound() && range.hasUpperBound()) {
          return set.subSet(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 18:35:44 GMT 2025
    - 81.6K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Maps.java

            && map.comparator() != Ordering.natural()
            && range.hasLowerBound()
            && range.hasUpperBound()) {
          checkArgument(
              map.comparator().compare(range.lowerEndpoint(), range.upperEndpoint()) <= 0,
              "map is using a custom comparator which is inconsistent with the natural ordering.");
        }
        if (range.hasLowerBound() && range.hasUpperBound()) {
          return map.subMap(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 157.6K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/Maps.java

            && map.comparator() != Ordering.natural()
            && range.hasLowerBound()
            && range.hasUpperBound()) {
          checkArgument(
              map.comparator().compare(range.lowerEndpoint(), range.upperEndpoint()) <= 0,
              "map is using a custom comparator which is inconsistent with the natural ordering.");
        }
        if (range.hasLowerBound() && range.hasUpperBound()) {
          return map.subMap(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 163.5K bytes
    - Click Count (0)
Back to Top