getChars() private method

private getChars ( int par0, int par1, char par2, int par3 ) : void
par0 int
par1 int
par2 char
par3 int
return void
 // Documentation in subclasses because of synchro difference
 public virtual AbstractStringBuilder append(StringBuffer sb)
 {
     if (sb == null)
     return append(new String("null"));
     int len = sb.length();
     ensureCapacityInternal(count + len);
     sb.getChars(0, len, value, count);
     count += len;
     return this;
 }
Esempio n. 2
0
        // Documentation in subclasses because of synchro difference
        public virtual AbstractStringBuilder append(StringBuffer sb)
        {
            if (sb == null)
            {
                return(append(new String("null")));
            }
            int len = sb.length();

            ensureCapacityInternal(count + len);
            sb.getChars(0, len, value, count);
            count += len;
            return(this);
        }