Fail Fast Iterator | Fail Safe Iterator | |
Throw ConcurrentModification Exception | yes | no |
Clone object | no | yes |
Memory Overhead | no | yes |
例 | HashMap,Vector,ArrayList,HashSet | CopyOnWriteArrayList, ConcurrentHashMap |
欢迎光临 ToB企服应用市场:ToB评测及商务社交产业平台 (https://dis.qidao123.com/) | Powered by Discuz! X3.4 |