@Override
    public Map.Entry<Object,V> next() {
      goNext();
      return new MapEntry(lastPos, allowModify);
    }
use nextCharArray() + currentValue() for better efficiency.
linguistics/src/main/java/com/yahoo/language/simple/kstem/CharArrayMap.java