List、set集合

集合框架图: collection接口主要定义了一些操作集合元素的方法: boolean add(E e) Ensures that this collection contains the specified element (optional operation).如果插入成功,返回true boolean addAll(Collection<? extends E> c) Adds all
相关文章
相关标签/搜索