Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 5897eea

Browse files
committed
add
1 parent 1b04fa6 commit 5897eea

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed

‎ch17/00_The_Collections_Class.md

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
2+
3+
4+
## 集合类
5+
6+
`java.util.Collections` 类完全由静态方法组成,这些静态方法对集合进行操作或返回集合。 有三个主要类别:泛型算法,返回空或预填充集合的方法以及创建包装器的方法。 我们依次讨论这三个类别,然后是其他一些不适合整洁分类的方法。
7+
8+
集合的所有方法都是公共和静态的,所以为了可读性,我们将从各个声明中省略这些修饰符。
9+
10+
11+
12+
13+
14+
15+
16+
17+
18+
19+
20+
21+
22+
23+
24+
25+
26+
27+
28+
29+
30+
31+
32+
33+
34+
35+
36+
37+
38+
39+
40+
41+
42+
43+
44+
45+
46+
47+
48+
49+
50+
51+
52+
53+
54+
55+
56+
57+
58+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /