上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 47 下一页

2023年11月8日

Map---HashMap---jdk8

摘要: 概述 Hash table based implementation of the Map interface. This implementation provides all of the optional map operations, and permits <tt>null</tt> va 阅读全文

posted @ 2023-11-08 10:23 anpeiyong 阅读(3) 评论(0) 推荐(0) 编辑

2023年11月7日

Map---HashMap-LinkedHashMap

摘要: 概述 LinkedHashMap是HashMap的直接子类; 二者唯一的区别是LinkedHashMap在HashMap的基础上,采用双向链表(doubly-linked list)的形式将所有entry连接起来,这样是为保证元素的迭代顺序跟插入顺序相同。 上图给出了LinkedHashMap的结构 阅读全文

posted @ 2023-11-07 11:02 anpeiyong 阅读(7) 评论(0) 推荐(0) 编辑

2023年11月1日

BlockingQueue

摘要: 概述 {@code BlockingQueue} methods come in four forms, with different ways of handling operations that cannot be satisfied immediately, but may be satis 阅读全文

posted @ 2023-11-01 15:00 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

BlockingQueue---BlockingDeque

摘要: 概述 A {@link Deque} that additionally supports blocking operations that wait for the deque to become non-empty when retrieving an element, and wait for 阅读全文

posted @ 2023-11-01 15:00 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

2023年10月31日

BlockingQueue---SynchronousQueue

摘要: 概述 A {@linkplain BlockingQueue blocking queue} in which each insert operation must wait for a corresponding remove operation by another thread, and vi 阅读全文

posted @ 2023-10-31 10:55 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

BlockingQueue---ArrayBlockingQueue

摘要: 概述 A bounded {@linkplain BlockingQueue blocking queue} backed by an array. This queue orders elements FIFO (first-in-first-out). The <em>head</em> of 阅读全文

posted @ 2023-10-31 10:31 anpeiyong 阅读(8) 评论(0) 推荐(0) 编辑

BlockingQueue---LinkedBlockingQueue

摘要: 概述 An optionally-bounded {@linkplain BlockingQueue blocking queue} based on linked nodes. This queue orders elements FIFO (first-in-first-out). The <e 阅读全文

posted @ 2023-10-31 10:29 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

2023年10月30日

Collections

摘要: synchronized ArrayList相关 Collections.synchronizedList(new ArrayList<>()) public class ArrayList<E> extends AbstractList<E> implements List<E>, RandomA 阅读全文

posted @ 2023-10-30 15:49 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

List---ArrayList

摘要: 概述 Resizable-array implementation of the <tt>List</tt> interface. Implements all optional list operations, and permits all elements, including <tt>nul 阅读全文

posted @ 2023-10-30 15:43 anpeiyong 阅读(3) 评论(0) 推荐(0) 编辑

JSON对比

摘要: https://www.huatools.com/json-diff/https://www.sojson.com/jsondiff.html 阅读全文

posted @ 2023-10-30 10:50 anpeiyong 阅读(9) 评论(0) 推荐(0) 编辑

上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 47 下一页

导航