首页 > 编程语言 > 详细

java.util.HashMap

时间:2017-12-29 13:11:24      阅读:207      评论:0      收藏:0      [点我收藏+]
 
Operations Time Complexity Notes
get, put O(1) assuming the hash function has dispersed the elements properly among the buckets
iteration over collection views proportional to the capacity plus the size do not set the initial capacity too high or the load factor too low
  • Making no guarantees to the iteration order and the constantness of the order over time either.
  • Unsynchronized and permitting nulls(both for key and value)
  • 未完待续

 

java.util.HashMap

原文:https://www.cnblogs.com/huangzejun/p/8143390.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!