Collection包结构,与Collections的区别.
Collections是针对集合类的一个帮助类,提供了操作集合的工具方法
Collection是集合类的上级接口,子接口主要有Set 和List。
包结构: Set: HashSet,TreeSet
List: ArrayList,LinkList,Vector.
Last updated
Was this helpful?
Collections是针对集合类的一个帮助类,提供了操作集合的工具方法
Collection是集合类的上级接口,子接口主要有Set 和List。
包结构: Set: HashSet,TreeSet
List: ArrayList,LinkList,Vector.
Last updated
Was this helpful?