开发者

List of Structures in Java

开发者 https://www.devze.com 2023-02-28 20:35 出处:网络
Hello I want to learn about all the st开发者_如何学运维ructures in Java eg. Hashtable Arraylist Can anyone give me a list of more so I can have a firm understanding of these data structures.. java.ut

Hello I want to learn about all the st开发者_如何学运维ructures in Java eg. Hashtable Arraylist

Can anyone give me a list of more so I can have a firm understanding of these data structures..


java.util.Collection

See the list of all known implementing classes, etc. And read all that Javadoc. Then, if you really want to understand, download Eclipse and browse the source code (the JDK classes are open source):

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

Per the commenter below, see 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

The Java Collections Framework contains the APIs you are researching, which I believe another poster mentioned.


They are called collections. You can learn more about them here.

0

精彩评论

暂无评论...
验证码 换一张
取 消