摘要: HashSet实现了Set接口,底层使用HashMap存储元素 HashSet源码: HashSet中的构造方法: private transient HashMap<E,Object> map; // Dummy value to associate with an Object in the b 阅读全文
posted @ 2022-07-25 22:00 recklessh 阅读(428) 评论(0) 推荐(0)