/* * (non-Javadoc) * @see java.lang.Appendable#append(java.lang.CharSequence, int, int) */ public Appendable append(StringValue csq, int start, int end) { final int otherLen = end - start; grow(this.len + otherLen); System.arraycopy(csq.value, start, this.value, this.len, otherLen); this.len += otherLen; return this; }
/* * (non-Javadoc) * @see java.lang.Appendable#append(java.lang.CharSequence, int, int) */ @Override public Appendable append(CharSequence csq, int start, int end) { final int otherLen = end - start; grow(this.len + otherLen); for (int pos = start; pos < end; pos++) { this.value[this.len + pos] = csq.charAt(pos); } this.len += otherLen; return this; }
/* * (non-Javadoc) * @see java.lang.Appendable#append(char) */ @Override public Appendable append(char c) { grow(this.len + 1); this.value[this.len++] = c; return this; }