码迷,mamicode.com
首页 > 编程语言 > 详细

java.util.HashMap

时间:2017-12-29 15:15:33      阅读:133      评论:0      收藏:0      [点我收藏+]

标签:cti   ati   min   tee   value   ant   init   either   set   

 
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

标签:cti   ati   min   tee   value   ant   init   either   set   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!