摘要: 在字符串的连接过程中StringBuffer的效率要比String高: string操作代码: String str = new String("welcome to "); str += "here"; 如上代码实际上是通过建立一个StringBuffer,让后台调用append(),最后再将St 阅读全文
posted @ 2017-05-23 10:50 Tilefish 阅读(2212) 评论(0) 推荐(0) 编辑