Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
3
Star
47
Fork
23
DreamCoders
/
CoderGuide
Code
Issues
1169
Pull Requests
0
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
什么是集合
Backlog
#IAJKR4
陌生人
owner
Opened this issue
2024-08-13 10:04
<h4><span style="color: rgb(51, 51, 51);">集合框架:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">用于存储数据的容器。 </span></h4><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合框架是为表示和操作集合而规定的一种统一的标准的体系结构。 任何集合框架都包含三大块内容:对外的接口、接口的实现和对集合运算的算法。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>接口</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">表示集合的抽象数据类型。接口允许我们操作集合时不必关注具体实现, 从而达到</span><span style="color: rgb(51, 51, 51);">“</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">多态</span><span style="color: rgb(51, 51, 51);">”</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">。在面向对象编程语言中,接口通常用来形成规范。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>实现</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合接口的具体实现,是重用性很高的数据结构。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>算法</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">在一个实现了某个集合框架中的接口的对象身上完成某种有用的计算的方 法,例如查找、排序等。这些算法通常是多态的,因为相同的方法可以在同一个 接口被多个类实现时有不同的表现。事实上,算法是可复用的函数。 它减少了程序设计的辛劳。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合框架通过提供有用的数据结构和算法使你能集中注意力于你的程序的重要部 分上,而不是为了让程序能正常运转而将注意力于底层设计上。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">通过这些在无关</span><span style="color: rgb(51, 51, 51);">API</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">之间的简易的互用性,使你免除了为改编对象或转换代码以 便联合这些</span><span style="color: rgb(51, 51, 51);">API</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">而去写大量的代码。 它提高了程序速度和质量。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>集合的特点 </strong></span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合的特点主要有如下两点: </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">对象封装数据,对象多了也需要存储。集合用于存储对象。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">对象的个数确定可以使用数组,对象的个数不确定的可以用集合。因 为集合是可变长度的。 </span></p>
<h4><span style="color: rgb(51, 51, 51);">集合框架:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">用于存储数据的容器。 </span></h4><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合框架是为表示和操作集合而规定的一种统一的标准的体系结构。 任何集合框架都包含三大块内容:对外的接口、接口的实现和对集合运算的算法。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>接口</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">表示集合的抽象数据类型。接口允许我们操作集合时不必关注具体实现, 从而达到</span><span style="color: rgb(51, 51, 51);">“</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">多态</span><span style="color: rgb(51, 51, 51);">”</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">。在面向对象编程语言中,接口通常用来形成规范。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>实现</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合接口的具体实现,是重用性很高的数据结构。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>算法</strong></span><span style="color: rgb(51, 51, 51);">:</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">在一个实现了某个集合框架中的接口的对象身上完成某种有用的计算的方 法,例如查找、排序等。这些算法通常是多态的,因为相同的方法可以在同一个 接口被多个类实现时有不同的表现。事实上,算法是可复用的函数。 它减少了程序设计的辛劳。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合框架通过提供有用的数据结构和算法使你能集中注意力于你的程序的重要部 分上,而不是为了让程序能正常运转而将注意力于底层设计上。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">通过这些在无关</span><span style="color: rgb(51, 51, 51);">API</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">之间的简易的互用性,使你免除了为改编对象或转换代码以 便联合这些</span><span style="color: rgb(51, 51, 51);">API</span><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">而去写大量的代码。 它提高了程序速度和质量。 </span></p><p><span style="color: rgb(51, 51, 51);"><strong>集合的特点 </strong></span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">集合的特点主要有如下两点: </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">对象封装数据,对象多了也需要存储。集合用于存储对象。 </span></p><p><span style="color: rgb(51, 51, 51); font-family: 微软雅黑;">对象的个数确定可以使用数组,对象的个数不确定的可以用集合。因 为集合是可变长度的。 </span></p>
Comments (
0
)
Sign in
to comment
Status
Backlog
Backlog
Doing
Done
Closed
Assignees
Not set
Labels
Java
Not set
Label settings
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
参与者(1)
1
https://gitee.com/DreamCoders/CoderGuide.git
git@gitee.com:DreamCoders/CoderGuide.git
DreamCoders
CoderGuide
CoderGuide
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register