MCPcopy
hub / github.com/google/guava / subList

Method subList

guava/src/com/google/common/collect/Lists.java:921–925  ·  view source on GitHub ↗
(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

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

Callers 15

removeRangeMethod · 0.95
combineMethod · 0.45
iteratorMethod · 0.45
spliteratorMethod · 0.45
nextMethod · 0.45
leastOfMethod · 0.45
getSubSetMethod · 0.45
removeRangeMethod · 0.45
removeRangeMethod · 0.45
getMethod · 0.45
subListImplMethod · 0.45

Calls 4

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

Tested by

no test coverage detected