Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for intersectRanges (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableRangeSet.java

        return copyOf(copy);
      }
    
      /**
       * Returns a list containing the nonempty intersections of {@code range} with the ranges in this
       * range set.
       */
      private ImmutableList<Range<C>> intersectRanges(final Range<C> range) {
        if (ranges.isEmpty() || range.isEmpty()) {
          return ImmutableList.of();
        } else if (range.encloses(span())) {
          return ranges;
        }
    
        final int fromIndex;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top