拓冰建站拓冰建站
首页 / 资讯中心 / 正文

List Set和Map

目录QueueArrayDequePriorityQueueConcurrentLinkedQueueArrayBlockingQueueLinkedBlockingQueueSynchronousQueueListArrayListLinkedListVectorCopyOnWriteArrayListStack(栈)ArrayQueue(数组队列)SetHashSetLinkedHashSetTreeSetMapHashtableHashMapConcurrentSkipListMapConcurrentHashMapLinkedHashMapTreeMapWeakHashMapJava容器分为Collection和Map两大类,都在Java.util.*包下面。Collection接口提供了集合对象进行基本操作的通用方法, List和Set是它的子类。Collections是一个包装类,包含了很多静态方法,不能被实例化,就像一个工具类,比如提供的排序方法: Collections. sort(list)。public interface CollectionE extends IterableE {} public abstract class AbstractCollectionE implements CollectionE {}QueueQueue队列,有序可重复。public interface QueueE extends CollectionE
分享:

看完干货,该让你的企业上线了

免费需求沟通 · 48 小时内出具建站方案 · 河南本地可上门