摘要: 今天学习HashMap源码,看见源码里的一个方法,有点看不懂,特此一记; /** * Returns a power of two size for the given target capacity. */ static final int tableSizeFor(int cap) { int 阅读全文
posted @ 2020-04-06 22:28 尘世间迷茫的小书童 阅读(206) 评论(0) 推荐(0) 编辑