MCPcopy Create free account
hub / github.com/antlr/codebuff / span

Method span

output/java_guava/1.4.17/ImmutableRangeSet.java:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161 }
162
163 @Override
164 public Range<C> span() {
165 if (ranges.isEmpty()) {
166 throw new NoSuchElementException();
167 }
168 return Range.create(ranges.get(0).lowerBound, ranges.get(ranges.size() - 1).upperBound);
169 }
170
171 @Override
172 public boolean isEmpty() {

Callers 3

intersectRangesMethod · 0.95
subRangeSetMethod · 0.95
asSetMethod · 0.95

Calls 4

createMethod · 0.95
isEmptyMethod · 0.65
getMethod · 0.65
sizeMethod · 0.65

Tested by

no test coverage detected