说明:
[C],指普通类
[A],指抽象类
[E],指枚举类
[I],指接口
f,指final修饰的
s,指static修饰的
@F,指@FunctionalInterface
java.lang
java.lang.Class<T> [C]f
java.lang.ClassLoader [A]
java.lang.Enum<E extends Enum<E>> [A]enum定义的枚举类会自动继承该类
-----------------------
java.lang.Object [C]
java.lang.System [C]f
java.lang.Math [C]f
-----------------------运行时环境
java.lang.Runtime [C]
Runtime.getRuntime().availableProcessors();
-----------------------基本类型的包装类
java.lang.Byte [C]f
java.lang.Short [C]f
java.lang.Integer [C]f
java.lang.Long [C]f
java.lang.Float [C]f
java.lang.Double [C]f
java.lang.Character [C]f
java.lang.Boolean [C]f
-----------------------字符串或文本处理相关
java.lang.String [C]f
java.lang.StringBuffer [C]f
java.lang.StringBuilder [C]f
-----------------------异常处理
java.lang.Throwable(可抛出) [C]
java.lang.Error [C]
java.lang.Exception [C]
-----------------------克隆
java.lang.Cloneable(可克隆) [I]
-----------------------多线程
java.lang.Thread [C]
java.lang.Runnable(可运行) [I]@F
-----------------------迭代
java.lang.Iterable<T>(可迭代) [I]
-----------------------
java.lang.Comparable<T> (可对比) [I]
-----------------------JDK常用注解
java.lang.@Override annotation type
java.lang.@Deprected annotation type
java.lang.@SuppressWarnings annotation type
java.lang.@FunctionalInterface annotation type
-----------------------
java.lang.ThreadLocal<T> [C]线程局部变量
-----------------------
java.lang.reflect
------------------------
java.lang.reflect.Field [C]f
java.lang.reflect.Method [C]f
java.lang.reflect.Constructor [C]f
java.lang.annotation
-----------------------元注解
java.lang.annotation.@Target annotation type
java.lang.annotation.@Retention annotation type
java.lang.annotation.@Documented annotation type
java.lang.annotation.@Inherited annotation type
java.time
java.time.LocalDate [C]f
java.time.LocalTime [C]f
java.time.LocalDateTime [C]f
java.text
-----------------------时间日期格式化
java.text.DateFormat [A]
java.text.SimpleDateFormat [C]
java.util
-----------------------集合框架
java.util.Collection<E> [I]
java.util.Vector<E> [C]extends AbstractList<E>
java.util.Stack<E> [C]extends Victor
java.util.List<E> [I]extends Collection<E>
java.util.ArrayList<E> [C]
java.util.LinkedList<E> [C]
java.util.Set<E> [I]extends Collection<E>
java.util.HashSet<E> [C]
java.util.LinkedHashSet<E> [C]
java.util.TreeSet<E> [C]
java.util.Map<K,V> [I]
java.util.HashMap<K,V> [C]
java.util.LinkedHashMap<K,V> [C]
java.util.TreeMap<K,V> [C]
java.util.HashTable<K,V> [C]
java.util.Properties [C]
-----------------------迭代器
java.util.Iterator<E> [I]
java.util.ListIterator<E> [I]
-----------------------集合框架(续)
java.util.Queue<E> [I]extends Collection<E>
java.util.Deque<E> [I]双端队列 extends Queue<E>
-----------------------容器增强
java.util.Objects [C]f
java.util.Arrays [C]
java.util.Collections [C]
-----------------------时间日期工具类
java.util.Date [C]
java.util.Calendar [A]
java.util.GregorianCalendar [C]
-----------------------
java.util.Scanner [C]f
java.util.Random [C]
-----------------------
java.util.Comparator<T> [I]@F
-----------------------
java.util.Enumeration<E> [I]枚举输出
-----------------------国际化·本地化
java.util.Locale [C]f
-----------------------
java.util.Optional [C]f
java.util.regex
java.util.regex.
java.util.reflect
-----------------------数组
java.util.reflect.Array [C]f
-----------------------反射
java.util.reflect.Field [C]f
java.util.reflect.Constructor<T> [C]f
java.util.reflect.Method [C]f
java.util.logging
-----------------------JUL
java.util.logging.
java.util.logging.
java.util.logging.
-----------------------并发编程:JUC
java.util.concurrent
java.util.concurrent.TimeUnit [E]
java.util.concurrent.Callable<V> [I]@F
java.util.concurrent.CountDownLatch [C]
java.util.concurrent.CyclicBarrier [C]
java.util.concurrent.Semaphore [C]
java.util.concurrent.CopyOnWriteArrayList<E> [C]
java.util.concurrent.CopyOnWriteArraySet<E> [C]
java.util.concurrent.ConcurrentHashMap<K,V> [C]
java.util.concurrent.BlockingQueue<E> [I]阻塞队列 extends Queue<E>
java.util.concurrent.AbstractQueue<E> [A]
java.util.concurrent.ArrayBlockingQueue<E> [C]implements BlockingQueue<E>
java.util.concurrent.LinkedBlockingQueue<E> [C]implements BlockingQueue<E>
java.util.concurrent.SynchronousQueue<E> [C]同步队列 implements BlockingQueue<E>
java.util.concurrent.Executor [I]
java.util.concurrent.Executors [C]禁止使用它来创建线程池
java.util.concurrent.ExecutorService [I]extends Executor
java.util.concurrent.ThreadPoolExecutor [C]
java.util.concurrent.ThreadFactory [I]
java.util.concurrent.RejectedExecutionHandler [I]
java.util.concurrent.ForkJoinTask<V> [A]implements Future<V>
java.util.concurrent.RecursiveTask<V> [A]extends ForkJoinTask<V>
java.util.concurrent.RecursiveAction [A]extends ForkJoinTask<Void>
java.util.concurrent.ForkJoinPool [C]extends AbstractExecutorService
java.util.concurrent.Future<V> [I]
java.util.concurrent.FutureTask<V> [C]implements Runnable<V>
java.util.concurrent.CompletableFuture<T> [C]implements Future<V>
java.util.concurrent.atomic
java.util.concurrent.atomic.AtomicBoolean [C]
java.util.concurrent.atomic.AtomicInteger [C]
java.util.concurrent.atomic.AtomicLong [C]
java.util.concurrent.atomic.AtomicIntegerArray [C]
java.util.concurrent.atomic.AtomicLongArray [C]
java.util.concurrent.atomic.AtomicReference<V> [C]原子引用(解决ABA)
java.util.concurrent.atomic.AtomicReferenceArray<E> [C]
java.util.concurrent.atomic.AtomicStampedReference<V> [C]
java.util.concurrent.locks
java.util.concurrent.locks.Lock [I]---locks包下三大接口之一
java.util.concurrent.locks.Condition [I]---locks包下三大接口之一
java.util.concurrent.locks.ReadWriteLock [I]---locks包下三大接口之一
java.util.concurrent.locks.ReentrantLock [C]
java.util.concurrent.locks.ReentrantReadWriteLock.ReadLock [C]s
java.util.concurrent.locks.ReentrantReadWriteLock.WriteLock [C]s
-----------------------并发编程:函数式接口
java.util.function
java.util.function.Supplier<T> [I]@F 四类函数式接口
java.util.function.Consumer<T> [I]@F
java.util.function.Predicate<T> [I]@F
java.util.function.Function<T,R> [I]@F
java.util.stream
java.util.stream.Stream<T> [I]
java.beans
java.beans.Introspector [C]
java.beans.BeanInfo [I]
java.beans.SimpleBeanInfo [C]
java.beans.PropertyDescriptor [C]
java.beans.MethodDescriptor [C]
java.math
java.math.BigInteger [C]
java.math.BigDecimal [C]
java.awt
java.awt.
java.awt.
java.awt.
java.io
java.io.File [C]
java.io.Reader [A]
java.io.Writer [A]
java.io.InputStreamReader [C]extends Reader
java.io.OutputStreamWriter [C]extends Writer
java.io.FileReader [C]extends InputStreamReader
java.io.FileWriter [C]extends OutputStreamWriter
java.io.FileOutputStream [C]extends Reader
java.io.FileInputStream [C]extends Writer
java.io.RandomAccessFile [C]
java.io.BufferedReader [C]extends Reader
java.io.BufferedWriter [C]extends Writer
java.io.OutputStream [A]
java.io.InputStream [A]
java.io.ObjectOutputStream [C]写对象-序列化 extends OutputStream
java.io.ObjectInputStream [C]读对象-反序列化 extends InputStream
java.io.Serializable [I]标记型接口
java.net
java.net.Socket [C]TCP-客户端 √
java.net.ServerSocket [C]TCP-服务器端 √
java.net.DatagramSocket [C]UDP √
java.net.URL [C]f √
java.net.URLConnection [A]
java.net.URLEncoder [C] √
java.net.URLDecoder [C] √
java.net.HttpURLConnection [A]
java.net.InetAddress [C] √
java.net.SocketAddress [A]
java.net.InetSocketAddress [C]
java.net.ssl
java.net.ssl.HttpsURLConnection [A]
java.sql
java.sql.DriverManager [C]
java.sql.Connection [I]
java.sql.Statement [I]
java.sql.PreparedStatement [I]
java.sql.ResultSet [I]
javax.sql
javax.sql.DataSource [I]
javax.sql.PooledConnection [I]
javax.sql.ConnectionPoolDataSource [I]extends CommonDatasource
javax.sql.ConnectionEventListener [I]extends EventListener
javax.sql.ConnectionEvent [C]
javax.sql.RowSet [I]extends ResultSet
javax.xml
javax.swing
另:
sun.misc
sun.misc.Unsafe [C]