char (int position) { if (position < myStart || position > myEnd) { throw new IllegalArgumentException("Position: " + position + ", start: " + myStart + ", end: " + myEnd); } myIndex = position; return current(); }