源码分析String

hashCode

计算每个char值,并移位累加

计算后的hash值会缓存

原文地址:https://www.cnblogs.com/yszzu/p/9337513.html