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

Method subList

corpus/java/training/guava/collect/Lists.java:893–897  ·  view source on GitHub ↗
(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

891 }
892
893 @Override
894 public List<T> subList(int fromIndex, int toIndex) {
895 checkPositionIndexes(fromIndex, toIndex, size());
896 return reverse(forwardList.subList(reversePosition(toIndex), reversePosition(fromIndex)));
897 }
898
899 @Override
900 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
getSubMapMethod · 0.45
subRangeMapMethod · 0.45
binarySearchMethod · 0.45

Calls 4

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

Tested by

no test coverage detected