xuMengqi's Blog

> 分类: CollectionsFramework


Queue接口详解 Queue接口有哪些实现? plantuml interface Queue<E> interface Deque<E> class LinkedList<E> class ArrayDeque<E> class PriorityQueue<E> Deque u|> Queue LinkedList .u.|> Deque ArrayDeque .u.|> Deq...
2023年10月24日
徐梦旗

Set接口详解 Set接口有哪些实现? plantuml interface Set<E> interface SortedSet<E> interface NavigableSet<E> class HashSet<E> class LinkedHashSet<E> class TreeSet<E> abstract class EnumSet<E extends Enum<E>>...
2023年10月17日
徐梦旗

Map接口详解 Map接口有哪些实现? plantuml interface Map<K,V> interface SortedMap<K,V> interface NavigableMap<K,V> class HashMap<K,V> class LinkedHashMap<K,V> class TreeMap<K,V> class EnumMap<K extends Enum<K...
2023年09月28日
徐梦旗

List详解 List接口有哪些实现? Java平台提供了两种常规用途的List接口的实现,分别是ArrayList和LinkedList。 在一般场景下,ArrayList有着更好的性能。 在特定场景下,LinkedList有着更好的性能。 plantuml interface Iterable<E> interface Collection<E> interface Lis...
2023年09月25日
徐梦旗