@Override
    public void clear() {
      if (!allowModify)
        throw new UnsupportedOperationException();
      CharArrayMap.this.clear();
    }
public EntrySet class so efficient methods are exposed to users
linguistics/src/main/java/com/yahoo/language/simple/kstem/CharArrayMap.java