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

Method span

output/java_guava/1.4.19/TreeRangeSet.java:155–163  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

153 }
154
155 @Override
156 public Range<C> span() {
157 Entry<Cut<C>, Range<C>> firstEntry = rangesByLowerBound.firstEntry();
158 Entry<Cut<C>, Range<C>> lastEntry = rangesByLowerBound.lastEntry();
159 if (firstEntry == null) {
160 throw new NoSuchElementException();
161 }
162 return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound);
163 }
164
165 @Override
166 public void add(Range<C> rangeToAdd) {

Callers

nothing calls this directly

Calls 4

createMethod · 0.95
firstEntryMethod · 0.65
lastEntryMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected