xiaozi 2016-06-04 03:52:26

HashMap 大小都是2的次方,不管你设置的大小是什么,都会 roundUpToPowerOf2

Map<String, String> myMap = new HashMap<>(4);

评论

- 위키
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-08 20:30
浙ICP备14020137号-1 $방문자$