为什么 ArrayList 父类中已经实现了 List 接口,自身也实现了 List 接口
Java 大约 392 字引用
I've asked Josh Bloch, and he informs me that it was a mistake. He used to think, long ago, that there was some value in it, but he since "saw the light". Clearly JDK maintainers haven't considered this to be worth backing out later.
翻译
集合框架的编写者Josh Bloch
说这是一个错误。JDK
维护者不认为这值得回退代码。
出处
阅读 432 · 发布于 2021-12-03
————        END        ————
Give me a Star, Thanks:)
https://github.com/fendoudebb扫描下方二维码关注公众号和小程序↓↓↓

昵称:
随便看看
换一批
-
Linux 不排序去除重复行和不排序统计重复行阅读 3922
-
Java 中的锁 ReentrantReadWriteLock阅读 789
-
Java 并发编程之 LinkedBlockingQueue 阻塞队列阅读 561
-
Docker 部署 Prometheus阅读 475
-
Golang 字符串与字节数组互相转换阅读 3084
-
Java 代码表示 UML 依赖/泛化/实现/关联/聚合/组合关系阅读 3051
-
Git 命令之本地仓库上传至远程仓库阅读 1413
-
使用 MyBatis 注解接收 PostgreSQL 的 returning 结果阅读 2912
-
Arthas 使用 logger 不停机更新 Spring Boot logback 日志等级阅读 1740
-
MySQL 备份工具 xtrabackup 安装和使用阅读 873