摘要: When only the keys from a map are needed in a loop, iterating the keySet makes sense. But when both the key and the value are needed, it's more effici 阅读全文
posted @ 2018-10-16 15:43 赭山东路 阅读(1062) 评论(0) 推荐(0) 编辑
摘要: It is better to use their new unsynchronized replacements: ArrayList or LinkedList instead of Vector Deque instead of Stack HashMap instead of Hashtab 阅读全文
posted @ 2018-10-16 15:02 赭山东路 阅读(2448) 评论(0) 推荐(0) 编辑