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

2023年11月17日

switch(jdk8)

摘要: 本质 字节码 int类型 1 int = 4 byte public static void switchTest(int a) { switch (a) { case 1: System.out.println("1"); break; case 2: System.out.println("2" 阅读全文

posted @ 2023-11-17 15:54 anpeiyong 阅读(50) 评论(0) 推荐(0) 编辑

2023年11月15日

Map---IdentityHashMap

摘要: 概述 This class implements the <tt>Map</tt> interface with a hash table, using reference-equality in place of object-equality when comparing keys (and v 阅读全文

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

2023年11月10日

List---Deque-LinkedList

摘要: 概述 Doubly-linked list implementation of the {@code List} and {@code Deque} interfaces. Implements all optional list operations, and permits all elemen 阅读全文

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

Queue&Deque

摘要: Queue 概述 A collection designed for holding elements prior to processing.Besides basic {@link java.util.Collection Collection} operations, queues provi 阅读全文

posted @ 2023-11-10 15:22 anpeiyong 阅读(1) 评论(0) 推荐(0) 编辑

Iterable&Iterator&Collection

摘要: Iterable 概述 Implementing this interface allows an object to be the target of the "for-each loop" statement. 实现Iterable接口 允许一个对象 作为 foreach遍历的目标; publi 阅读全文

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

2023年11月9日

Set&List&Map

摘要: Map 概述 An object that maps keys to values. A map cannot contain duplicate keys; each key can map to at most one value. Map将key映射到value; Map的key不能重复,每个 阅读全文

posted @ 2023-11-09 19:39 anpeiyong 阅读(5) 评论(0) 推荐(0) 编辑

Set---HashSet-LinkedHashSet

摘要: 概述 Hash table and linked list implementation of the <tt>Set</tt> interface, with predictable iteration order. This implementation differs from <tt>Has 阅读全文

posted @ 2023-11-09 11:25 anpeiyong 阅读(4) 评论(0) 推荐(0) 编辑

2023年11月8日

Set---SortedSet-NavigableSet-TreeSet

摘要: SortedSet 概述 A {@link Set} that further provides a <i>total ordering</i> on its elements.The elements are ordered using their {@linkplain Comparable n 阅读全文

posted @ 2023-11-08 19:05 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

Map---SortedMap-NavigableMap-TreeMap

摘要: SortedMap 概述 A {@link Map} that further provides a <em>total ordering</em> on its keys.The map is ordered according to the {@linkplain Comparable natu 阅读全文

posted @ 2023-11-08 16:19 anpeiyong 阅读(1) 评论(0) 推荐(0) 编辑

Set---HashSet

摘要: 概述 This class implements the <tt>Set</tt> interface, backed by a hash table (actually a <tt>HashMap</tt> instance). It makes no guarantees as to the i 阅读全文

posted @ 2023-11-08 11:27 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

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

导航