首页 > 其他分享 >2021-09-16

2021-09-16

时间:2023-02-06 13:34:15浏览次数:42  
标签:HashMap 16 09 链表 2021 双向 维护 节点 LinkedHashMap


HashMap和HashSet

HashSet是在HashMap上套了一层,只设置key,val设为默认值

LinkedHashMap和HashMap

通过双向链表维护了节点之间的顺序,不仅要维护map还要维护节点之间的双向链表

LinkedHashSet和LinkedHashMap的区别

同HashSet和HashMap的区别


标签:HashMap,16,09,链表,2021,双向,维护,节点,LinkedHashMap
From: https://blog.51cto.com/u_12834811/6038984

相关文章