René's URL Explorer Experiment


Title: Java集合常见面试题总结 | 大彬

Open Graph Title: Java集合常见面试题总结

Description: 高质量的Java集合常见知识点和面试题总结,让天下没有难背的八股文!

Keywords:

Opengraph URL: https://www.topjavaer.cn/java/java-collection.html

Generator: VuePress 2.0.0-beta.49

direct link

Domain: topjavaer.cn

themeVuePress Theme Hope
og:site_name大彬
og:typearticle
og:localezh-CN
article:tagJava集合
author大彬
None0
baidu-site-verificationcode-mtJaPDeFwy
articleSectionJava
timeRequiredPT27M

Links:

Skip to contenthttps://topjavaer.cn/java/java-collection.html#main-content
大彬https://topjavaer.cn/
主页https://topjavaer.cn/
学习圈https://topjavaer.cn/zsxq/introduce.html
基础https://topjavaer.cn/java/java-basic.html
集合https://topjavaer.cn/java/java-collection.html
并发https://topjavaer.cn/java/java-concurrent.html
JVMhttps://topjavaer.cn/java/jvm.html
Java8https://topjavaer.cn/java/java8
Tomcathttps://topjavaer.cn/web/tomcat.html
Spring面试题https://topjavaer.cn/framework/spring.html
SpringMVC面试题https://topjavaer.cn/framework/springmvc.html
Mybatis面试题https://topjavaer.cn/framework/mybatis.html
SpringBoot面试题https://topjavaer.cn/framework/springboot.html
SpringCloud详解https://topjavaer.cn/framework/springcloud/
SpringCloud面试题https://topjavaer.cn/framework/springcloud-interview.html
ZooKeeper面试题https://topjavaer.cn/zookeeper/zk.html
Netty详解https://topjavaer.cn/framework/netty/
消息队列面试题https://topjavaer.cn/message-queue/mq.html
RabbitMQ面试题https://topjavaer.cn/message-queue/rabbitmq.html
Kafka面试题https://topjavaer.cn/message-queue/kafka.html
MySQL基础https://topjavaer.cn/database/mysql-basic/
MySQL面试题https://topjavaer.cn/database/mysql.html
MySQL执行计划详解https://topjavaer.cn/database/mysql-execution-plan.html
Redis基础https://topjavaer.cn/redis/redis-basic/
Redis面试题https://topjavaer.cn/redis/redis.html
MongoDB面试题https://topjavaer.cn/database/mongodb.html
ElasticSearch面试题open in new windowhttps://mp.weixin.qq.com/s/Ffb8NDgavf9QAWYBm0qAVg
网络https://topjavaer.cn/computer-basic/network.html
TCP专题https://topjavaer.cn/computer-basic/tcp.html
操作系统https://topjavaer.cn/computer-basic/operate-system.html
算法https://topjavaer.cn/computer-basic/algorithm.html
LeetCode题解https://topjavaer.cn/leetcode/hot120
数据结构https://topjavaer.cn/computer-basic/data-structure.html
统计不同号码的个数https://topjavaer.cn/mass-data/1-count-phone-num.html
出现频率最高的100个词https://topjavaer.cn/mass-data/2-find-hign-frequency-word.html
查找两个大文件共同的URLhttps://topjavaer.cn/mass-data/3-find-same-url.html
如何在100亿数据中找到中位数?https://topjavaer.cn/mass-data/4-find-mid-num.html
如何查询最热门的查询串?https://topjavaer.cn/mass-data/5-find-hot-string.html
如何找出排名前 500 的数?https://topjavaer.cn/mass-data/6-top-500-num.html
如何按照 query 的频度排序?https://topjavaer.cn/mass-data/7-query-frequency-sort.html
大数据中 TopK 问题的常用套路https://topjavaer.cn/mass-data/8-topk-template.html
扫码登录设计https://topjavaer.cn/advance/system-design/1-scan-code-login.html
超时订单自动取消https://topjavaer.cn/advance/system-design/2-order-timeout-auto-cancel.html
短链系统设计https://topjavaer.cn/advance/system-design/
微信红包系统如何设计?https://topjavaer.cn/advance/system-design/
单点登录设计与实现https://topjavaer.cn/advance/system-design/
如何用 Redis 统计用户访问量?https://topjavaer.cn/advance/system-design/
实时订阅推送设计与实现https://topjavaer.cn/advance/system-design/
如何设计一个抢红包系统https://topjavaer.cn/advance/system-design/
购物车系统怎么设计?https://topjavaer.cn/advance/system-design/
如何设计一个注册中心?https://topjavaer.cn/advance/system-design/
如何设计一个高并发系统?https://topjavaer.cn/advance/system-design/
10w级别数据Excel导入怎么优化?https://topjavaer.cn/advance/system-design/
全局唯一IDhttps://topjavaer.cn/advance/distributed/1-global-unique-id.html
分布式锁https://topjavaer.cn/advance/distributed/2-distributed-lock.html
RPChttps://topjavaer.cn/advance/distributed/3-rpc.html
微服务https://topjavaer.cn/advance/distributed/4-micro-service.html
分布式架构https://topjavaer.cn/advance/distributed/5-distibuted-arch.html
分布式事务https://topjavaer.cn/advance/distributed/6-distributed-transaction.html
限流https://topjavaer.cn/advance/concurrent/1-current-limiting.html
负载均衡https://topjavaer.cn/advance/concurrent/2-load-balance.html
设计模式详解https://topjavaer.cn/advance/design-pattern/
优质文章汇总https://topjavaer.cn/advance/excellent-article
整体架构https://topjavaer.cn/source/spring/1-architect.html
IOC 容器基本实现https://topjavaer.cn/source/spring/2-ioc-overview.html
IOC默认标签解析(上)https://topjavaer.cn/source/spring/3-ioc-tag-parse-1.html
IOC默认标签解析(下)https://topjavaer.cn/source/spring/4-ioc-tag-parse-2.html
IOC之自定义标签解析https://topjavaer.cn/source/spring/5-ioc-tag-custom.md.html
IOC-开启 bean 的加载https://topjavaer.cn/source/spring/6-bean-load.html
IOC之bean创建https://topjavaer.cn/source/spring/7-bean-build.html
IOC属性填充https://topjavaer.cn/source/spring/8-ioc-attribute-fill.html
IOC之循环依赖处理https://topjavaer.cn/source/spring/9-ioc-circular-dependency.html
IOC之bean 的初始化https://topjavaer.cn/source/spring/10-bean-initial.html
ApplicationContext容器refresh过程https://topjavaer.cn/source/spring/11-application-refresh.html
AOP的使用及AOP自定义标签https://topjavaer.cn/source/spring/12-aop-custom-tag.html
创建AOP代理之获取增强器https://topjavaer.cn/source/spring/13-aop-proxy-advisor.html
AOP代理的生成https://topjavaer.cn/source/spring/14-aop-proxy-create.html
AOP目标方法和增强方法的执行https://topjavaer.cn/source/spring/15-aop-advice-create.html
@Transactional注解的声明式事物介绍https://topjavaer.cn/source/spring/16-transactional.html
Spring事务是怎么通过AOP实现的?https://topjavaer.cn/source/spring/17-spring-transaction-aop.html
事务增强器https://topjavaer.cn/source/spring/18-transaction-advice.html
事务的回滚和提交https://topjavaer.cn/source/spring/19-transaction-rollback-commit.html
文件上传和拦截器https://topjavaer.cn/source/spring-mvc/1-overview.html
导读篇https://topjavaer.cn/source/spring-mvc/2-guide.html
场景分析https://topjavaer.cn/source/spring-mvc/3-scene.html
事务的回滚和提交https://topjavaer.cn/source/spring-mvc/4-fileupload-interceptor.html
整体架构https://topjavaer.cn/source/mybatis/1-overview.html
反射模块https://topjavaer.cn/source/mybatis/2-reflect.html
Git详解https://topjavaer.cn/tools/git/
Maven详解https://topjavaer.cn/tools/maven/
Docker详解https://topjavaer.cn/tools/docker/
Linux常用命令https://topjavaer.cn/tools/linux
Nginx面试题open in new windowhttps://mp.weixin.qq.com/s/SKKEeYxif0wWJo6n57rd6A
jsonopen in new windowhttps://www.json.cn/
base64编解码open in new windowhttps://c.runoob.com/front-end/693/
时间戳转换open in new windowhttps://www.beijing-time.org/shijianchuo/
unicode转换open in new windowhttps://www.fulimama.com/unicode/
正则表达式open in new windowhttps://www.sojson.com/regex/
md5加密open in new windowhttps://www.toolkk.com/tools/md5-encrypt
流程图工具open in new windowhttps://app.diagrams.net/
二维码open in new windowhttps://cli.im/
文本比对open in new windowhttps://c.runoob.com/front-end/8006/
markdown编辑器https://topjavaer.cn/tools/typora-overview.html
计算机经典电子书PDFopen in new windowhttps://github.com/Tyson0314/java-books
Leetcode刷题笔记https://topjavaer.cn/learning-resources/leetcode-note.html
技术学习路线思维导图open in new windowhttps://mp.weixin.qq.com/s?__biz=Mzg2OTY1NzY0MQ==&mid=2247494513&idx=1&sn=de1a7cf0b5580840cb8ad4a96e618866&chksm=ce9b1637f9ec9f212d054018598b96b5277f7733fac8f985d8dae0074c8446a2cad8e43ba739#rd
图解操作系统、网络、计算机系列open in new windowhttps://mp.weixin.qq.com/s?__biz=Mzg2OTY1NzY0MQ==&mid=2247494510&idx=1&sn=b19d9e07321b8fca9129fe0d8403a426&chksm=ce9b1628f9ec9f3e7d45a6db8389ee2813864a9ca692238d29b139c35ccb01b08155bc2da358#rd
优质视频教程open in new windowhttps://mp.weixin.qq.com/s?__biz=Mzg2OTY1NzY0MQ==&mid=2247487149&idx=1&sn=aa883c9f020945d3f210550bd688c7d0&chksm=ce98f3ebf9ef7afdae0b37c4d0751806b0fbbf08df783fba536e5ec20ec6a6e1512198dc6206&token=104697471&lang=zh_CN#rd
ChatGPT手册open in new windowhttps://mp.weixin.qq.com/s?__biz=Mzg2OTY1NzY0MQ==&mid=2247494344&idx=1&sn=d16f51e8bd3424f63e4fb6a5aa5ca4db&chksm=ce9b178ef9ec9e9841c7a049e4da0843c291b96f463e87190a6bf344c7022194ee393b695751#rd
Java学习路线https://topjavaer.cn/learning-resources/java-learn-guide.html
CS学习路线https://topjavaer.cn/learning-resources/cs-learn-guide.html
关于我https://topjavaer.cn/about/introduce.html
网站日记https://topjavaer.cn/other/site-diary.html
联系我https://topjavaer.cn/about/contact.html
留言区https://topjavaer.cn/other/leave-a-message.html
https://github.com/Tyson0314/Java-learning
常见的集合有哪些?https://topjavaer.cn/java/java-collection.html#常见的集合有哪些
List 、Set和Map 的区别https://topjavaer.cn/java/java-collection.html#list-、set和map-的区别
ArrayList 了解吗?https://topjavaer.cn/java/java-collection.html#arraylist-了解吗
ArrayList 的扩容机制?https://topjavaer.cn/java/java-collection.html#arraylist-的扩容机制
怎么在遍历 ArrayList 时移除一个元素?https://topjavaer.cn/java/java-collection.html#怎么在遍历-arraylist-时移除一个元素
Arraylist 和 Vector 的区别https://topjavaer.cn/java/java-collection.html#arraylist-和-vector-的区别
Arraylist 与 LinkedList的区别https://topjavaer.cn/java/java-collection.html#arraylist-与-linkedlist的区别
HashMaphttps://topjavaer.cn/java/java-collection.html#hashmap
解决hash冲突的办法有哪些?HashMap用的哪种?https://topjavaer.cn/java/java-collection.html#解决hash冲突的办法有哪些-hashmap用的哪种
使用的hash算法?https://topjavaer.cn/java/java-collection.html#使用的hash算法
为什么建议设置HashMap的容量?https://topjavaer.cn/java/java-collection.html#为什么建议设置hashmap的容量
HashMap扩容过程是怎样的?https://topjavaer.cn/java/java-collection.html#hashmap扩容过程是怎样的
说说HashMapput方法的流程?https://topjavaer.cn/java/java-collection.html#说说hashmapput方法的流程
红黑树的特点?https://topjavaer.cn/java/java-collection.html#红黑树的特点
在解决 hash 冲突的时候,为什么选择先用链表,再转红黑树?https://topjavaer.cn/java/java-collection.html#在解决-hash-冲突的时候-为什么选择先用链表-再转红黑树
HashMap 的长度为什么是 2 的幂次方?https://topjavaer.cn/java/java-collection.html#hashmap-的长度为什么是-2-的幂次方
HashMap默认加载因子是多少?为什么是 0.75?https://topjavaer.cn/java/java-collection.html#hashmap默认加载因子是多少-为什么是-0-75
一般用什么作为HashMap的key?https://topjavaer.cn/java/java-collection.html#一般用什么作为hashmap的key
HashMap为什么线程不安全?https://topjavaer.cn/java/java-collection.html#hashmap为什么线程不安全
HashMap和HashTable的区别?https://topjavaer.cn/java/java-collection.html#hashmap和hashtable的区别
LinkedHashMap底层原理?https://topjavaer.cn/java/java-collection.html#linkedhashmap底层原理
讲一下TreeMap?https://topjavaer.cn/java/java-collection.html#讲一下treemap
HashSet底层原理?https://topjavaer.cn/java/java-collection.html#hashset底层原理
HashSet、LinkedHashSet 和 TreeSet 的区别?https://topjavaer.cn/java/java-collection.html#hashset、linkedhashset-和-treeset-的区别
什么是fail fast?https://topjavaer.cn/java/java-collection.html#什么是fail-fast
什么是fail safe?https://topjavaer.cn/java/java-collection.html#什么是fail-safe
讲一下ArrayDeque?https://topjavaer.cn/java/java-collection.html#讲一下arraydeque
哪些集合类是线程安全的?哪些不安全?https://topjavaer.cn/java/java-collection.html#哪些集合类是线程安全的-哪些不安全
迭代器 Iterator 是什么?https://topjavaer.cn/java/java-collection.html#迭代器-iterator-是什么
Iterator 和 ListIterator 有什么区别?https://topjavaer.cn/java/java-collection.html#iterator-和-listiterator-有什么区别
如何让一个集合不能被修改?https://topjavaer.cn/java/java-collection.html#如何让一个集合不能被修改
并发容器https://topjavaer.cn/java/java-collection.html#并发容器
ConcurrentHashMaphttps://topjavaer.cn/java/java-collection.html#concurrenthashmap
CopyOnWritehttps://topjavaer.cn/java/java-collection.html#copyonwrite
CopyOnWriteArrayListhttps://topjavaer.cn/java/java-collection.html#copyonwritearraylist
ConcurrentLinkedQueuehttps://topjavaer.cn/java/java-collection.html#concurrentlinkedqueue
阻塞队列https://topjavaer.cn/java/java-collection.html#阻塞队列
参考链接https://topjavaer.cn/java/java-collection.html#参考链接
大彬https://www.topjavaer.cn
常见的集合有哪些?https://topjavaer.cn/java/java-collection.html#常见的集合有哪些
List 、Set和Map 的区别https://topjavaer.cn/java/java-collection.html#list-、set和map-的区别
ArrayList 了解吗?https://topjavaer.cn/java/java-collection.html#arraylist-了解吗
ArrayList 的扩容机制?https://topjavaer.cn/java/java-collection.html#arraylist-的扩容机制
怎么在遍历 ArrayList 时移除一个元素?https://topjavaer.cn/java/java-collection.html#怎么在遍历-arraylist-时移除一个元素
Arraylist 和 Vector 的区别https://topjavaer.cn/java/java-collection.html#arraylist-和-vector-的区别
Arraylist 与 LinkedList的区别https://topjavaer.cn/java/java-collection.html#arraylist-与-linkedlist的区别
HashMaphttps://topjavaer.cn/java/java-collection.html#hashmap
解决hash冲突的办法有哪些?HashMap用的哪种?https://topjavaer.cn/java/java-collection.html#解决hash冲突的办法有哪些-hashmap用的哪种
使用的hash算法?https://topjavaer.cn/java/java-collection.html#使用的hash算法
为什么建议设置HashMap的容量?https://topjavaer.cn/java/java-collection.html#为什么建议设置hashmap的容量
HashMap扩容过程是怎样的?https://topjavaer.cn/java/java-collection.html#hashmap扩容过程是怎样的
说说HashMapput方法的流程?https://topjavaer.cn/java/java-collection.html#说说hashmapput方法的流程
红黑树的特点?https://topjavaer.cn/java/java-collection.html#红黑树的特点
在解决 hash 冲突的时候,为什么选择先用链表,再转红黑树?https://topjavaer.cn/java/java-collection.html#在解决-hash-冲突的时候-为什么选择先用链表-再转红黑树
HashMap 的长度为什么是 2 的幂次方?https://topjavaer.cn/java/java-collection.html#hashmap-的长度为什么是-2-的幂次方
HashMap默认加载因子是多少?为什么是 0.75?https://topjavaer.cn/java/java-collection.html#hashmap默认加载因子是多少-为什么是-0-75
一般用什么作为HashMap的key?https://topjavaer.cn/java/java-collection.html#一般用什么作为hashmap的key
HashMap为什么线程不安全?https://topjavaer.cn/java/java-collection.html#hashmap为什么线程不安全
HashMap和HashTable的区别?https://topjavaer.cn/java/java-collection.html#hashmap和hashtable的区别
LinkedHashMap底层原理?https://topjavaer.cn/java/java-collection.html#linkedhashmap底层原理
讲一下TreeMap?https://topjavaer.cn/java/java-collection.html#讲一下treemap
HashSet底层原理?https://topjavaer.cn/java/java-collection.html#hashset底层原理
HashSet、LinkedHashSet 和 TreeSet 的区别?https://topjavaer.cn/java/java-collection.html#hashset、linkedhashset-和-treeset-的区别
什么是fail fast?https://topjavaer.cn/java/java-collection.html#什么是fail-fast
什么是fail safe?https://topjavaer.cn/java/java-collection.html#什么是fail-safe
讲一下ArrayDeque?https://topjavaer.cn/java/java-collection.html#讲一下arraydeque
哪些集合类是线程安全的?哪些不安全?https://topjavaer.cn/java/java-collection.html#哪些集合类是线程安全的-哪些不安全
迭代器 Iterator 是什么?https://topjavaer.cn/java/java-collection.html#迭代器-iterator-是什么
Iterator 和 ListIterator 有什么区别?https://topjavaer.cn/java/java-collection.html#iterator-和-listiterator-有什么区别
如何让一个集合不能被修改?https://topjavaer.cn/java/java-collection.html#如何让一个集合不能被修改
并发容器https://topjavaer.cn/java/java-collection.html#并发容器
ConcurrentHashMaphttps://topjavaer.cn/java/java-collection.html#concurrenthashmap
CopyOnWritehttps://topjavaer.cn/java/java-collection.html#copyonwrite
CopyOnWriteArrayListhttps://topjavaer.cn/java/java-collection.html#copyonwritearraylist
ConcurrentLinkedQueuehttps://topjavaer.cn/java/java-collection.html#concurrentlinkedqueue
阻塞队列https://topjavaer.cn/java/java-collection.html#阻塞队列
参考链接https://topjavaer.cn/java/java-collection.html#参考链接
大厂面试手册open in new windowhttps://topjavaer.cn/zsxq/mianshishouce.html
大彬的知识星球open in new windowhttps://topjavaer.cn/zsxq/introduce.html
#https://topjavaer.cn/java/java-collection.html#常见的集合有哪些
#https://topjavaer.cn/java/java-collection.html#list-、set和map-的区别
#https://topjavaer.cn/java/java-collection.html#arraylist-了解吗
#https://topjavaer.cn/java/java-collection.html#arraylist-的扩容机制
#https://topjavaer.cn/java/java-collection.html#怎么在遍历-arraylist-时移除一个元素
#https://topjavaer.cn/java/java-collection.html#arraylist-和-vector-的区别
#https://topjavaer.cn/java/java-collection.html#arraylist-与-linkedlist的区别
#https://topjavaer.cn/java/java-collection.html#hashmap
#https://topjavaer.cn/java/java-collection.html#解决hash冲突的办法有哪些-hashmap用的哪种
#https://topjavaer.cn/java/java-collection.html#使用的hash算法
#https://topjavaer.cn/java/java-collection.html#为什么建议设置hashmap的容量
#https://topjavaer.cn/java/java-collection.html#hashmap扩容过程是怎样的
#https://topjavaer.cn/java/java-collection.html#说说hashmapput方法的流程
#https://topjavaer.cn/java/java-collection.html#红黑树的特点
#https://topjavaer.cn/java/java-collection.html#在解决-hash-冲突的时候-为什么选择先用链表-再转红黑树
#https://topjavaer.cn/java/java-collection.html#hashmap-的长度为什么是-2-的幂次方
#https://topjavaer.cn/java/java-collection.html#hashmap默认加载因子是多少-为什么是-0-75
#https://topjavaer.cn/java/java-collection.html#一般用什么作为hashmap的key
#https://topjavaer.cn/java/java-collection.html#hashmap为什么线程不安全
#https://topjavaer.cn/java/java-collection.html#hashmap和hashtable的区别
#https://topjavaer.cn/java/java-collection.html#linkedhashmap底层原理
#https://topjavaer.cn/java/java-collection.html#讲一下treemap
#https://topjavaer.cn/java/java-collection.html#hashset底层原理
#https://topjavaer.cn/java/java-collection.html#hashset、linkedhashset-和-treeset-的区别
#https://topjavaer.cn/java/java-collection.html#什么是fail-fast
#https://topjavaer.cn/java/java-collection.html#什么是fail-safe
#https://topjavaer.cn/java/java-collection.html#讲一下arraydeque
#https://topjavaer.cn/java/java-collection.html#哪些集合类是线程安全的-哪些不安全
#https://topjavaer.cn/java/java-collection.html#迭代器-iterator-是什么
#https://topjavaer.cn/java/java-collection.html#iterator-和-listiterator-有什么区别
#https://topjavaer.cn/java/java-collection.html#如何让一个集合不能被修改
#https://topjavaer.cn/java/java-collection.html#并发容器
#https://topjavaer.cn/java/java-collection.html#concurrenthashmap
#https://topjavaer.cn/java/java-collection.html#put执行流程
#https://topjavaer.cn/java/java-collection.html#怎么扩容
#https://topjavaer.cn/java/java-collection.html#concurrenthashmap-和-hashtable-的区别
#https://topjavaer.cn/java/java-collection.html#copyonwrite
#https://topjavaer.cn/java/java-collection.html#copyonwritearraylist
#https://topjavaer.cn/java/java-collection.html#concurrentlinkedqueue
#https://topjavaer.cn/java/java-collection.html#阻塞队列
#https://topjavaer.cn/java/java-collection.html#jdk提供的阻塞队列
#https://topjavaer.cn/java/java-collection.html#原理
#https://topjavaer.cn/java/java-collection.html#参考链接
http://www.importnew.com/20386.htmlopen in new windowhttp://www.importnew.com/20386.html
https://www.cnblogs.com/yangming1996/p/7997468.htmlopen in new windowhttps://www.cnblogs.com/yangming1996/p/7997468.html
https://coolshell.cn/articles/9606.htm(HashMapopen in new windowhttps://coolshell.cn/articles/9606.htm%EF%BC%88HashMap
编辑此页open in new windowhttps://github.com/Tyson0314/Java-learning/edit/main/docs/java/java-collection.md
粤ICP备2022005190号-2http://beian.miit.gov.cn/

Viewport: width=device-width,initial-scale=1

Robots: all


URLs of crawlers that visited me.