java容器和基础类源码分析总结

目录

源码分析说明

基础类和接口源码分析

基本类

基本接口

函数式接口

工具类

java容器关系图

Collection的子类源码分析

Collection

List

Queue

Set

Map的子类源码分析

旧的容器类


源码分析说明

本次源码分析基本是基于JAVA_VERSION="1.8.0_112" 的jdk版本

在eclipse写jdk注释的方法是   https://blog.csdn.net/xushiyu1996818/article/details/92576467

基础类和接口源码分析

基本类

Object https://blog.csdn.net/xushiyu1996818/article/details/94565090

Number  https://blog.csdn.net/xushiyu1996818/article/details/96151312

String   https://blog.csdn.net/xushiyu1996818/article/details/98628550

Character   https://blog.csdn.net/xushiyu1996818/article/details/97826094

Integer  https://blog.csdn.net/xushiyu1996818/article/details/96974760

Byte   https://blog.csdn.net/xushiyu1996818/article/details/98500736

System   https://blog.csdn.net/xushiyu1996818/article/details/97825109

基本接口

Serializable  https://blog.csdn.net/xushiyu1996818/article/details/95994562

Iterable 和Iterator  https://blog.csdn.net/xushiyu1996818/article/details/93617360

Spliterator https://blog.csdn.net/xushiyu1996818/article/details/93489267

Cloneable  https://blog.csdn.net/xushiyu1996818/article/details/94565090

Comparable 和Comparator  https://blog.csdn.net/xushiyu1996818/article/details/95614824

CharSequence   https://blog.csdn.net/xushiyu1996818/article/details/97015290

 

函数式接口

Consumer  https://blog.csdn.net/xushiyu1996818/article/details/92787371

工具类

Spliterators   https://blog.csdn.net/xushiyu1996818/article/details/93619614

java容器关系图

可以参考最全的图片

https://img-blog.csdn.net/20160124221843905

java容器和基础类源码分析总结_第1张图片

也可以看

java容器和基础类源码分析总结_第2张图片

 

Collection的子类源码分析

java容器和基础类源码分析总结_第3张图片

 

Collection

Collection  https://blog.csdn.net/xushiyu1996818/article/details/98885137

AbstractCollection  https://blog.csdn.net/xushiyu1996818/article/details/99588373

List

List   https://blog.csdn.net/xushiyu1996818/article/details/99859578

ListIterator   https://blog.csdn.net/xushiyu1996818/article/details/99676864

AbstractList   https://blog.csdn.net/xushiyu1996818/article/details/100036380

ArrayList   https://blog.csdn.net/xushiyu1996818/article/details/100137363

RandomAccess  https://blog.csdn.net/xushiyu1996818/article/details/99864557

AbstractSequentialList   https://blog.csdn.net/xushiyu1996818/article/details/100211367

LinkedList  https://blog.csdn.net/xushiyu1996818/article/details/100563036

Queue

Queue  https://blog.csdn.net/xushiyu1996818/article/details/100142225

Deque  https://blog.csdn.net/xushiyu1996818/article/details/100161326

Set

Set   https://blog.csdn.net/xushiyu1996818/article/details/100584079

AbstractSet   https://blog.csdn.net/xushiyu1996818/article/details/100584180

HashSet  https://blog.csdn.net/xushiyu1996818/article/details/102684987

SortedSet   https://blog.csdn.net/xushiyu1996818/article/details/102814027

NavigableSet   https://blog.csdn.net/xushiyu1996818/article/details/102815427

TreeSet   https://blog.csdn.net/xushiyu1996818/article/details/102822596

 

Map的子类源码分析

java容器和基础类源码分析总结_第4张图片

 

Map   https://blog.csdn.net/xushiyu1996818/article/details/100742384

AbstractMap  https://blog.csdn.net/xushiyu1996818/article/details/100887239

HashMap  https://blog.csdn.net/xushiyu1996818/article/details/102681487

LinkedHashMap   https://blog.csdn.net/xushiyu1996818/article/details/102725872

SortedMap   https://blog.csdn.net/xushiyu1996818/article/details/102745787

NavigableMap    https://blog.csdn.net/xushiyu1996818/article/details/102781977

TreeMap   https://blog.csdn.net/xushiyu1996818/article/details/102802175

 

旧的容器类

Enumeration     https://blog.csdn.net/xushiyu1996818/article/details/102741975

Dictionary      https://blog.csdn.net/xushiyu1996818/article/details/102742048

HashTable   https://blog.csdn.net/xushiyu1996818/article/details/102742283

你可能感兴趣的:(总结,java容器,java)