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

Method subList

output/java_guava/1.4.17/Floats.java:529–537  ·  view source on GitHub ↗
(int fromIndex, int toIndex)

Source from the content-addressed store, hash-verified

527 }
528
529 @Override
530 public List<Float> subList(int fromIndex, int toIndex) {
531 int size = size();
532 checkPositionIndexes(fromIndex, toIndex, size);
533 if (fromIndex == toIndex) {
534 return Collections.emptyList();
535 }
536 return new FloatArrayAsList(array, start + fromIndex, start + toIndex);
537 }
538
539 @Override
540 public boolean equals(@Nullable Object object) {

Callers

nothing calls this directly

Calls 2

sizeMethod · 0.95
checkPositionIndexesMethod · 0.45

Tested by

no test coverage detected