
集合
qq_43193797
github:https://github.com/yanjie666
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HashMap&&HashTable底层原理以及常见面试题
1.HashMap VS HashTable1.1.首先说下 HashMap 的原理。HashMap 的数据结构/**The table, resized as necessary. Length MUST Always be a power of two.**/transient Entry[] table;static class Entry<K,V> imple...原创 2018-11-10 19:14:04 · 884 阅读 · 0 评论 -
LinkedList 的实现原理
一、概述先来看看源码中的这一段注释,我们先尝试从中提取一些信息:Doubly-linked list implementation of the List and Deque interfaces. Implements all optional list operations, and permits all elements (including null).All of the oper...原创 2018-12-04 18:44:17 · 478 阅读 · 0 评论 -
ArrayList的contains方法和HasMap的containsKey效率差十倍
版权声明:本文为博主原创文章,欢迎转载和交流,转载请注明来源^^ https://blog.youkuaiyun.com/u013468917/article/details/51362156 </div> <link rel="stylesheet" href="https转载 2019-01-14 20:35:28 · 594 阅读 · 0 评论