摘要: 《0》StringBuffer适用于多线程场景,StringBuilder适用于字符串拼接【堆栈封闭】 `Vector`实现`List`接口,底层和`ArrayList`类似,但是`Vector`中的方法都是使用`synchronized`修饰,即进行了同步的措施。 但是,`Vector`并不是线程 阅读全文
posted @ 2018-12-14 15:11 叮叮007 阅读(306) 评论(0) 推荐(0) 编辑