-
Notifications
You must be signed in to change notification settings - Fork 9
Gh pages 1.0 #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Gh pages 1.0 #12
Changes from 1 commit
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
e68c281
添加前后链接
maskleo d5c8f61
格式化
maskleo 37a687a
添加上下文链接
maskleo 6e0f839
添加上下文链接
maskleo 45e9b8d
添加上下文链接
maskleo c7900e4
添加上下文链接
maskleo d2067b6
添加上下文链接
maskleo e6de1b3
添加上下文链接
maskleo 61d0682
添加上下文链接
maskleo f63b157
添加上下文链接
maskleo e7b6bcf
添加上下文链接
maskleo 4f4561f
添加上下文链接
maskleo 5a075ba
添加上下文链接
maskleo 15e85e6
Merge branch 'gh-pages' into gh-pages-1.0
maskleo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
添加上下文链接
- Loading branch information
There are no files selected for viewing
49 changes: 5 additions & 44 deletions
ch10/00_Collections.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,11 @@ | ||
《《《 [返回首页](../README.md) <br/> | ||
《《《 [上一节](../ch09/05_Subject-Observer.md) | ||
|
||
# 集合 | ||
|
||
`Java` 集合框架是 `java.util` 和 `java.util.concurrent` 包中的一组接口和类。他们为客户程序提供了如何组织其对象的各种模型以及每种模型的各种实现。这些模型有时被称为抽象数据类型,我们需要它们,因为不同的程序需要不同的方式来组织它们的对象。在一种情况下,您可能希望将程序的对象组织在顺序列表中,因为它们的排序很重要,并且有重复。另一种情况是,一个集合可能是正确的数据类型,因为现在的排序并不重要,你想放弃重复。这两种数据类型(以及其他)由集合框架中的不同接口表示,我们将在本章中查看它们的使用示例。但那不是全部;这些数据类型中没有一个具有单一的"最佳"实现 - 也就是说,对于所有操作,其中一个实现比所有其他实现更好。例如,链接列表可能比用于从中间插入和删除元素的列表的阵列实现更好,但是对于随机访问更糟糕。因此,为您的程序选择正确的实施方式涉及知道如何使用以及可用的方式。 | ||
|
||
本书的这一部分首先概述框架,然后详细介绍每个主界面及其标准实现。最后,我们将看看 `Collections` 类中提供的专用实现和通用算法。 | ||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
《《《 [下一节](01_The_Main_Interfaces_of_the_Java.md) <br/> | ||
《《《 [返回首页](../README.md) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.