望天,浩瀚苍穹

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2018年8月26日

摘要: 非线程安全;基于对象数组; get(int index)不需要遍历数组,速度快; iterator()方法中调用了get(int index),所以速度也快 set(int index, E e)不需要遍历数组,速度快 add方法需要考虑扩容与数组复制问题,速度慢 remove(Object o)需 阅读全文
posted @ 2018-08-26 16:24 望天,浩瀚苍穹 阅读(123) 评论(0) 推荐(0) 编辑