Home | History | Annotate | Download | only in text

Lines Matching refs:start

66     public String substring(int start, int limit) {
67 return buf.substring(start, limit);
116 * &lt;= start &lt;= limit</code>.
118 * <code>start &lt;= limit &lt;= length()</code>.
120 * @param dstStart the start offset in the destination array.
132 * @param start the beginning index, inclusive; <code>0 &lt;= start
134 * @param limit the ending index, exclusive; <code>start &lt;= limit
136 * @param text new text to replace characters <code>start</code> to
140 public void replace(int start, int limit, String text) {
141 buf.replace(start, limit, text);
146 * @param start the beginning index, inclusive; <code>0 &lt;= start
148 * @param limit the ending index, exclusive; <code>start &lt;= limit
150 * @param chars the text to replace characters <code>start</code>
153 * inclusive; <code>0 &lt;= start &lt;= limit</code>.
157 public void replace(int start, int limit, char[] chars,
159 buf.delete(start, limit);
160 buf.insert(start, chars, charsStart, charsLen);
168 * @param start the beginning index, inclusive; <code>0 &lt;= start &lt;=
170 * @param limit the ending index, exclusive; <code>start &lt;= limit &lt;=
173 * <code>start..limit-1</code> will be copied to <code>dest</code>.
174 * Implementations of this method may assume that <code>dest &lt;= start ||
178 public void copy(int start, int limit, int dest) {
179 if (start == limit && start >= 0 && start <= buf.length()) {
182 char[] text = new char[limit - start];
183 getChars(start, limit, text, 0);
184 replace(dest, dest, text, 0, limit - start);