上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 68 下一页
摘要: 第10篇:Map-WeakHashMap 阅读全文
posted @ 2023-04-22 17:30 cnetsa 阅读(17) 评论(0) 推荐(0)
摘要: 第11篇:Map-TreeMap 属性 //TreeMap用来排序的比较器,如果为null,说明使用key的自然排序 private final Comparator<? super K> comparator; //TreeMap的根节点,类型是Entry键值对 private transient 阅读全文
posted @ 2023-04-22 17:30 cnetsa 阅读(33) 评论(0) 推荐(0)
摘要: 第9篇:Map-LinkedHashMap 阅读全文
posted @ 2023-04-22 17:29 cnetsa 阅读(11) 评论(0) 推荐(0)
摘要: 第8篇:Map-Hashtable put方法 addEntry方法 rehash方法 get方法 remove方法 contains方法 containsKey方法 containsValue方法 阅读全文
posted @ 2023-04-22 17:29 cnetsa 阅读(25) 评论(0) 推荐(0)
摘要: 第7篇:Map-HashMap 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(18) 评论(0) 推荐(0)
摘要: 第2篇:List-Vector 1 构造函数 2 扩容方法 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(22) 评论(0) 推荐(0)
摘要: 第3篇:List-LinkedList 1 大小 2 第一个节点 3 最后一个节点 4 元素:前一个节点,下一个节点,元素 二 构造方法 三 添加单个元素 四 添加到头尾节点 addfirst addlast offerFirst offerLast linkFirst 添加到头结点 push(E 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(33) 评论(0) 推荐(0)
摘要: 第5篇:Queue-ArrayDeque 源码解析: 1 构造方法 ArrayDeque(int capacity) 2 扩容 resize (int newcapacity) 3 创建数组 T[] nearray (int siz) 4 添加元素 boolean add(T o) 5 删除元素 T 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(23) 评论(0) 推荐(0)
摘要: 第4篇:Queue-ArrayQueue 构造函数 ArrayQueue() ArrayQueue(collection<? extends E> c) ArrayQueue(int numelement) 增加First方法 addFirst(E e) doubleCapacity() 增加Las 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(17) 评论(0) 推荐(0)
摘要: 第6篇:Queue-PriorityQueue add(E e) offer(E e) siftUp add()和offer() element()和peek() remove()和poll() remove(Object o) 参考文章 阅读全文
posted @ 2023-04-22 17:28 cnetsa 阅读(11) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 12 13 ··· 68 下一页