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

Method subList

output/java_guava/1.4.19/Lists.java:923–927  ·  view source on GitHub ↗
(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

921 }
922
923 @Override
924 public List<T> subList(int fromIndex, int toIndex) {
925 checkPositionIndexes(fromIndex, toIndex, size());
926 return reverse(forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)));
927 }
928
929 @Override
930 public Iterator<T> iterator() {

Callers 15

removeRangeMethod · 0.95
iteratorMethod · 0.45
nextMethod · 0.45
leastOfMethod · 0.45
getSubSetMethod · 0.45
getMethod · 0.45
subListImplMethod · 0.45
createNodesMethod · 0.45
getSubMapMethod · 0.45
subRangeMapMethod · 0.45

Calls 4

sizeMethod · 0.95
reversePositionMethod · 0.95
checkPositionIndexesMethod · 0.45
reverseMethod · 0.45

Tested by

no test coverage detected