public char setIndex(int location) {if (location < start || location > end) {throw new IllegalArgumentException();}offset = location;if (offset == end) {return DONE;}return string.charAt(offset);}

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];}
