Skip to content

Commit 0feb554

Browse files
authored
Update 00_Comparison_and_Bounds.md
1 parent 411062e commit 0feb554

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ch03/00_Comparison_and_Bounds.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
《《《 [返回首页](../README.md) <br/>
2+
《《《 [上一节](../ch02/08_Restrictions_on_Wildcards.md)
3+
4+
## 比较和界限
15

26
现在我们已经掌握了基本知识,让我们看看泛型的一些更高级的用法。本章介绍用于支持元素比较的接口 `Comparable <T>``Comparator <T>`。 例如,如果要查找
37
集合的最大元素或对列表进行排序,这些接口很有用。 一路上,我们将介绍类型变量的界限,这是泛型的一个重要特性,与 `Comparable <T>` 界面结合使用特别有用。
8+
9+
《《《 [下一节](01_Comparable.md) <br/>
10+
《《《 [返回首页](../README.md)

0 commit comments

Comments
 (0)