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

Method get

output/java_guava/1.4.19/RegularImmutableList.java:65–70  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

63 // The fake cast to E is safe because the creation methods only allow E's
64
65 @Override
66 @SuppressWarnings("unchecked")
67 public E get(int index) {
68 Preconditions.checkElementIndex(index, size);
69 return (E) array[index + offset];
70 }
71
72 @Override
73 ImmutableList<E> subListUnchecked(int fromIndex, int toIndex) {

Callers

nothing calls this directly

Calls 1

checkElementIndexMethod · 0.95

Tested by

no test coverage detected