Collection 包結構,與 Collections 的區別

Collection 是集合類的上級接口,子接口主要是 list、set、map。工具

Collections 是一個針對集合類的幫助類,提供了操做集合的工具方法。接口

 

Collection 中 hash

List 常見:ArrayList、Vector 、LinkedListio

Set:hashset,set 、TreeSethashmap

map:hashmap 、 Linkedhashmap、Treemap、PropertiesList

相關文章
相關標籤/搜索