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

Method set

output/java_guava/1.4.19/Chars.java:536–543  ·  view source on GitHub ↗
(int index, Character element)

Source from the content-addressed store, hash-verified

534 }
535
536 @Override
537 public Character set(int index, Character element) {
538 checkElementIndex(index, size());
539 char oldValue = array[start + index];
540 // checkNotNull for GWT (do not optimize)
541 array[start + index] = checkNotNull(element);
542 return oldValue;
543 }
544
545 @Override
546 public List<Character> 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