@Override
    public boolean hasNext() {
      return pos < keys.length;
    }
public iterator class so efficient methods are exposed to users
linguistics/src/main/java/com/yahoo/language/simple/kstem/CharArrayMap.java