public void set(char[] arr, int end) {
    this.buf = arr;
    this.len = end;
  }
A StringBuilder that allows one to access the array.
linguistics/src/main/java/com/yahoo/language/simple/kstem/OpenStringBuilder.java