text: public char setIndex(int location){if (location < start || location > end){throw new System.ArgumentException();}offset = location;if (offset == end){return java.text.CharacterIteratorClass.DONE;}return @string[offset];}