Home | History | Annotate | Download | only in text

Lines Matching refs:buf

24     private StringBuffer buf;
32 buf = new StringBuffer(str);
36 * Construct a new object using <code>buf</code> for internal
37 * storage. The contents of <code>buf</code> at the time of
39 * Modifications to <code>buf</code> will modify this object, and
41 * @param buf object to be used as internal storage
44 public ReplaceableString(StringBuffer buf) {
45 this.buf = buf;
53 buf = new StringBuffer();
63 return buf.toString();
71 return buf.substring(start, limit);
81 return buf.length();
93 return buf.charAt(offset);
109 return UTF16.charAt(buf, offset);
133 buf.getChars(srcStart, srcLimit, dst, dstStart);
150 buf.replace(start, limit, text);
169 buf.delete(start, limit);
170 buf.insert(start, chars, charsStart, charsLen);
190 if (start == limit && start >= 0 && start <= buf.length()) {