JDK版本:
知识点:
- JDK的设计
- 经典方法学习
JDK 的设计
// 问题1 : 为什么使用final 关键字
private final char value[];
/** Cache the hash code for the string */
private int hash; // Default to 0
JDK版本:
知识点:
// 问题1 : 为什么使用final 关键字
private final char value[];
/** Cache the hash code for the string */
private int hash; // Default to 0