博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
【DataStructure】The description of Java Collections Framework
阅读量:5950 次
发布时间:2019-06-19

本文共 1248 字,大约阅读时间需要 4 分钟。

The Java Connections FrameWork is a group of class or method and interfacs in the java.util package. Its main purpose is to provide a unified framework for implementing common data structure. A collections is a object that contains other objects,which are called that elements of the collections . The JCF specifies four general types of collections: List, Queue, Set and Map.  A list is a sequence of elements.A Queue is a first-in-first-out collections line waitingline. A set is an unstructured collections of distinct elements. A map is a collection of components pairs that works like an index or dictionary.

The JCF implements the interfaces with several different data structures. The simplest structure is an indexed structure, that is, an array, which is used by the ArrayList, the ArrayDeque,the HashSet, and the HashMapclasses. Other implementations use a linked structure. The LinkedListclass uses a doubly linked linear structure, the PriorityQueueclass uses a heap tree, the TreeSetand TreeMapclasses use a linked binary search tree, and the LinkedHashSet, andLinkedHashMapclasses use a hybrid linked array structure. The specialized EnumSetand EnumMapclasses use a bit string. These twelve implementations are summarized in Table 4.1.

你可能感兴趣的文章
苦战 自由软件的今生前世
查看>>
搭建 Discuz 论坛
查看>>
Go语言的国际化支持(资源文件翻译)
查看>>
install oracle 11g on linux (centos6) 遇到的问题
查看>>
PhoneGap插件开发流程
查看>>
iOS设计模式——桥接模式
查看>>
gitlab runner 优化
查看>>
快速添加百度网盘文件到Aria2 猴油脚本
查看>>
mac 无法登录mysql的解决办法
查看>>
Shiro权限判断异常之命名导致的subject.isPermitted 异常
查看>>
Hello world travels in cpp - 字符串(2)
查看>>
springMVC笔记系列(10)——CookieValue注解
查看>>
Spring框架笔记(六)——Spring IOC容器Bean之间的继承与依赖关系
查看>>
struts2自定义拦截器
查看>>
Eclipse安装adt插件后之后看不到andorid manger
查看>>
Kafka服务端脚本详解(1)一topics
查看>>
Zookeeper 集群安装配置,超详细,速度收藏!
查看>>
js中var self=this的解释
查看>>
js--字符串reverse
查看>>
面试题
查看>>