public void reserve(int num) {
    if (len + num > buf.length) resize(len + num);
  }
A StringBuilder that allows one to access the array.
linguistics/src/main/java/com/yahoo/language/simple/kstem/OpenStringBuilder.java