Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for rangeContaining (0.59 sec)

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

          }
          return false;
        }
    
        @Override
        public @Nullable Range<C> rangeContaining(C value) {
          if (!restriction.contains(value)) {
            return null;
          }
          Range<C> result = TreeRangeSet.this.rangeContaining(value);
          return (result == null) ? null : result.intersection(restriction);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 32.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/RangeSet.java

      /**
       * Returns the unique range from this range set that {@linkplain Range#contains contains} {@code
       * value}, or {@code null} if this range set does not contain {@code value}.
       */
      @Nullable Range<C> rangeContaining(C value);
    
      /**
       * Returns {@code true} if there exists a non-empty range enclosed by both a member range in this
       * range set and the specified range. This is equivalent to calling {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableRangeSet.java

                Ordering.natural(),
                ANY_PRESENT,
                NEXT_LOWER);
        return index != -1 && ranges.get(index).encloses(otherRange);
      }
    
      @Override
      public @Nullable Range<C> rangeContaining(C value) {
        int index =
            SortedLists.binarySearch(
                ranges,
                Range::lowerBound,
                Cut.belowValue(value),
                Ordering.natural(),
                ANY_PRESENT,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27.4K bytes
    - Viewed (0)
Back to top