MCPcopy Create free account
hub / github.com/ReadyTalk/avian / setCharAt

Method setCharAt

classpath/java/lang/StringBuilder.java:375–379  ·  view source on GitHub ↗
(int index, char ch)

Source from the content-addressed store, hash-verified

373 }
374
375 public void setCharAt(int index, char ch) {
376 if(index < 0 || index >= length) throw new IndexOutOfBoundsException();
377 deleteCharAt(index);
378 insert(index, ch);
379 }
380
381 public void ensureCapacity(int capacity) {
382 // ignore

Callers

nothing calls this directly

Calls 2

deleteCharAtMethod · 0.95
insertMethod · 0.95

Tested by

no test coverage detected