Lines Matching refs:span
42 * This class will sort and collapse its span
43 * entries after this many span additions via
67 * Add a span covering the half open interval
83 * Add a span which covers the entire range.
96 * Returns true if the span defined by the half-open
139 * single span. The result is a sorted,
149 /* Have 'span' start at the first span in
153 Span span = null;
155 span = iter.next();
159 * into a single span.
166 * order and so the next span's starting point
167 * is either in the span we are trying to grow
168 * or it is beyond the first span and thus the
171 * span: <----------<
180 * span: <----------<
181 * nextSpan: <-----< (don't change span)
182 * nextSpan: <-----------< (grow span)
185 if (span.subsume(nextSpan)) {
188 /* The next span did not intersect the current
189 * span and so it can not be collapsed. Instead
194 span = nextSpan;
207 Span span = iter.next();
208 System.out.println(span);
222 * The span includes the starting point.
227 * The span goes up to but does not include
279 * altering this span's starting position.
292 /* If the other span's starting position
293 * was in our interval and the other span
294 * was longer than this span, then we need
295 * to grow this span to cover the difference.