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

Method reversePosition

output/java_guava/1.4.18/Lists.java:882–886  ·  view source on GitHub ↗
(int index)

Source from the content-addressed store, hash-verified

880 }
881
882 private int reversePosition(int index) {
883 int size = size();
884 checkPositionIndex(index, size);
885 return size - index;
886 }
887
888 @Override
889 public void add(int index, @Nullable T element) {

Callers 4

addMethod · 0.95
subListMethod · 0.95
listIteratorMethod · 0.95
nextIndexMethod · 0.95

Calls 2

sizeMethod · 0.95
checkPositionIndexMethod · 0.45

Tested by

no test coverage detected