gpt4 book ai didi

java - Java 中的结构列表

转载 作者:行者123 更新时间:2023-12-01 16:39:16 24 4
gpt4 key购买 nike

你好,我想了解Java中的所有结构体例如。哈希表数组列表

任何人都可以给我一个更多的列表,以便我可以对这些数据结构有一个牢固的理解..

最佳答案

java.util.Collection

查看所有已知实现类的列表等。并阅读所有 Javadoc。然后,如果您确实想了解,请下载 Eclipse 并浏览源代码(JDK 类是开源的):

Interface Collection

All Superinterfaces: Iterable

All Known Subinterfaces: BeanContext, BeanContextServices, BlockingDeque, BlockingQueue, Deque, List, NavigableSet, Queue, Set, SortedSet

All Known Implementing Classes: AbstractCollection, AbstractList, AbstractQueue, AbstractSequentialList, AbstractSet, ArrayBlockingQueue, ArrayDeque, ArrayList, AttributeList, BeanContextServicesSupport, BeanContextSupport, ConcurrentLinkedQueue, ConcurrentSkipListSet, CopyOnWriteArrayList, CopyOnWriteArraySet, DelayQueue, EnumSet, HashSet, JobStateReasons, LinkedBlockingDeque, LinkedBlockingQueue, LinkedHashSet, LinkedList, PriorityBlockingQueue, PriorityQueue, RoleList, RoleUnresolvedList, Stack, SynchronousQueue, TreeSet, Vector

根据下面的评论者,请参阅 java.util.Map :

Interface Map

Type Parameters: K - the type of keys maintained by this map V - the type of mapped values

All Known Subinterfaces: Bindings, ConcurrentMap, ConcurrentNavigableMap, LogicalMessageContext, MessageContext, NavigableMap, SOAPMessageContext, SortedMap

All Known Implementing Classes: AbstractMap, Attributes, AuthProvider, ConcurrentHashMap, ConcurrentSkipListMap, EnumMap, HashMap, Hashtable, IdentityHashMap, LinkedHashMap, PrinterStateReasons, Properties, Provider, RenderingHints, SimpleBindings, TabularDataSupport, TreeMap, UIDefaults, WeakHashMap

Java Collections Framework包含您正在研究的 API,我相信另一张海报提到过。

关于java - Java 中的结构列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5766105/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com