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

Method get

corpus/java/training/guava/collect/Lists.java:332–337  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

330 }
331
332 @Override
333 public E get(int index) {
334 // check explicitly so the IOOBE will have the right message
335 checkElementIndex(index, size());
336 return (index == 0) ? first : rest[index - 1];
337 }
338
339 private static final long serialVersionUID = 0;
340 }

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
checkElementIndexMethod · 0.45

Tested by

no test coverage detected