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

Method get

output/java_guava/1.4.19/Lists.java:345–350  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

343 }
344
345 @Override
346 public E get(int index) {
347 // check explicitly so the IOOBE will have the right message
348 checkElementIndex(index, size());
349 return (index == 0) ? first : rest[index - 1];
350 }
351
352 private static final long serialVersionUID = 0;
353 }

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
checkElementIndexMethod · 0.45

Tested by

no test coverage detected