@Override
  public char setIndex(int position) {
    if (position < 0 || position > myChars.length()) {
      throw new IllegalArgumentException("Wrong index: " + position);
    }
    myCurPosition = position;
    return current();
  }
@Override
  public char setIndex(int position)