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

Appearance settings

Commit 59af7fe

Browse filesBrowse files
author
Justin Lin
committed
修正角括號錯誤
1 parent 176f00c commit 59af7fe
Copy full SHA for 59af7fe

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎docs/CH12.md‎

Copy file name to clipboardExpand all lines: docs/CH12.md
+1-1Lines changed: 1 addition & 1 deletion
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ HashMap 並沒有實作 List 介面,所以無法作為實例化型態持有者
324324
> **良葛格的話匣子** 實際上由於 List、Map、Set 與實作這些介面的相關類別,都已經用新的泛型功能重新改寫過了,實際撰寫時會更複雜一些,例如實際上您還可以再細部定義範例 12.9 的 ListGenericFoo:
325325
>
326326
> <pre>import java.util.List;
327-
> public class ListGenericFoo<T extends List<String>> {
327+
> public class ListGenericFoo&lt;T extends List&lt;String&gt;&gt; {
328328
> private T[] fooArray;
329329
> public void setFooArray(T[] fooArray) {
330330
> this.fooArray = fooArray;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.