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

Method set

output/java_guava/1.4.17/Floats.java:520–527  ·  view source on GitHub ↗
(int index, Float element)

Source from the content-addressed store, hash-verified

518 }
519
520 @Override
521 public Float set(int index, Float element) {
522 checkElementIndex(index, size());
523 float oldValue = array[start + index];
524 // checkNotNull for GWT (do not optimize)
525 array[start + index] = checkNotNull(element);
526 return oldValue;
527 }
528
529 @Override
530 public List<Float> subList(int fromIndex, int toIndex) {

Callers

nothing calls this directly

Calls 3

sizeMethod · 0.95
checkElementIndexMethod · 0.45
checkNotNullMethod · 0.45

Tested by

no test coverage detected