copy();
System.arraycopy( value , index+1, value , index, count -index-1);
count --;
return this ;
}
当 StringBuffer 改变的时候 , 判断了是否 shared, 然後决定是否 copy
而且为了避免同步问题,把方法做成同步的
jdk1.5
public synchronized
copy();
System.arraycopy( value , index+1, value , index, count -index-1);
count --;
return this ;
}
当 StringBuffer 改变的时候 , 判断了是否 shared, 然後决定是否 copy
而且为了避免同步问题,把方法做成同步的
jdk1.5
public synchronized