日期:2014-05-20 浏览次数:20709 次
public static void main(String args[]){ String s="aaaaaa"; StringBuilder aa=new StringBuilder(s); //long startTime=System.currentTimeMillis(); for(long i=0;i<1000;i++){ aa.append(i); } //long lengTime=System.currentTimeMillis(); //long time=lengTime-startTime; System.out.println(aa); //System.out.println(time); }