Lines Matching defs:position
47 * Sets the position to getBeginIndex() and returns the character at that
48 * position.
59 * Sets the position to getEndIndex()-1 (getEndIndex() if the text is empty)
60 * and returns the character at that position.
76 * Gets the character at the current position (as returned by getIndex()).
77 * @return the character at the current position or DONE if the current
78 * position is off the end of the text.
96 * @return the character at the new position or DONE if the new
97 * position is off the end of the text range.
115 * @return the character at the new position or DONE if the current
116 * position is equal to getBeginIndex().
131 * Sets the position to the specified position in the text and returns that
133 * @param position the position within the text. Valid values range from
136 * @return the character at the specified position or DONE if the specified position is equal to getEndIndex()
138 public char setIndex(int position) {
140 position -= begin;
141 if (position < 0 || position > chars.length) {
144 pos = position;