摘要:
题目:【java源码】HashMap /** * Returns a power of two size for the given target capacity. * 返回大于输入参数且最近的2的整数次幂的数。比如10,则返回16。 */ static final int tableSizeFo 阅读全文
posted @ 2020-12-13 16:32
Wei_Xiong
阅读(122)
评论(0)
推荐(0)
摘要:
题目:【java源码】ArrayList ArrayList 常用功能:构造函数、增、批量增、删、批量删、批量保留 ArrayList 属性: // 默认数组长度(数组,而不是数据个数) private static final int DEFAULT_CAPACITY = 10; // 空数据 p 阅读全文
posted @ 2020-12-13 01:46
Wei_Xiong
阅读(151)
评论(0)
推荐(0)

浙公网安备 33010602011771号