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

Method span

output/java_guava/1.4.18/TreeRangeSet.java:153–161  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151 }
152
153 @Override
154 public Range<C> span() {
155 Entry<Cut<C>, Range<C>> firstEntry = rangesByLowerBound.firstEntry();
156 Entry<Cut<C>, Range<C>> lastEntry = rangesByLowerBound.lastEntry();
157 if (firstEntry == null) {
158 throw new NoSuchElementException();
159 }
160 return Range.create(firstEntry.getValue().lowerBound, lastEntry.getValue().upperBound);
161 }
162
163 @Override
164 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