摘要: 阅读全文
posted @ 2021-12-01 22:07 littlemu 阅读(44) 评论(0) 推荐(0) 编辑
摘要: 1、Vector & ArrayList 1) 同步性:Vector是线程安全的,也就是说是同步的 ,而ArrayList 是线程序不安全的,不是同步的 数2。 2)数据增长:当需要增长时,Vector默认增长为原来一倍 ,而ArrayList却是原来的50% ,这样,ArrayList就有利于节约 阅读全文
posted @ 2021-12-01 20:36 littlemu 阅读(53) 评论(0) 推荐(0) 编辑