Java源码-0x01-源码阅读清单
整体计划是将Java的源码事无巨细地过一遍
一是弥补一下认知缺陷
二是争取从CPP到Java由底至上地理解Java这个语言,很多时候总会感觉多了一层屏障导致理解困难
在此过程中完善对计算机OS的知识体系建立
难度很大,过程很大,工程很大,所以能否完结也是待定
阅读顺序
1 java.lang
- Object
String
AbstractStringBuilder
StringBuffer
StringBuilder
Boolean
Byte
Double
Float
Integer
Long
Short
Thread
ThreadLocal
Enum
Throwable
Error
Exception
Class
ClassLoader
Compiler
System
Package
Void
Number
Math
2 java.util
AbstractList
AbstractMap
AbstractSet
ArrayList
LinkedList
HashMap
Hashtable
HashSet
LinkedHashMap
LinkedHashSet
TreeMap
TreeSet
Vector
Queue
Stack
SortedMap
SortedSet
Collections
Arrays
Comparator
Iterator
Base64
Date
EventListener
Random
SubList
Timer
UUID
WeakHashMap
3 java.util.concurrent
ConcurrentHashMap
Executor
AbstractExecutorService
ExecutorService
ThreadPoolExecutor
BlockingQueue
AbstractQueuedSynchronizer
CountDownLatch
FutureTask
Semaphore
CyclicBarrier
CopyOnWriteArrayList
SynchronousQueue
BlockingDeque
Callable
4 java.util.concurrent.atomic
AtomicBoolean
AtomicInteger
AtomicLong
AtomicReference
5 java.lang.reflect
Field
Method
6 java.lang.annotation
Annotation
Target
Inherited
Retention
Documented
ElementType
Native
Repeatable
7 java.util.concurrent.locks
Lock
Condition
ReentrantLock
ReentrantReadWriteLock
8 java.io
File
InputStream
OutputStream
Reader
Writer
9 java.nio
Buffer
ByteBuffer
CharBuffer
DoubleBuffer
FloatBuffer
IntBuffer
LongBuffer
ShortBuffer
10 java.sql
Connection
Driver
DriverManager
JDBCType
ResultSet
Statement
11 java.net
Socket
ServerSocket
URI
URL
URLEncoder
12 java.math
BigDecimal
BigInteger