offset = position; return array[offset];
if (position < getBeginIndex() || position > getEndIndex()) throw new IllegalArgumentException();  current = position;  if (position == getEndIndex()) return DONE;  return array[current];
    public char setIndex(int position)    {	offset = position;	return array[offset];    }