We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 176f00c commit 59af7feCopy full SHA for 59af7fe
docs/CH12.md
@@ -324,7 +324,7 @@ HashMap 並沒有實作 List 介面,所以無法作為實例化型態持有者
324
> **良葛格的話匣子** 實際上由於 List、Map、Set 與實作這些介面的相關類別,都已經用新的泛型功能重新改寫過了,實際撰寫時會更複雜一些,例如實際上您還可以再細部定義範例 12.9 的 ListGenericFoo:
325
>
326
> <pre>import java.util.List;
327
-> public class ListGenericFoo<T extends List<String>> {
+> public class ListGenericFoo<T extends List<String>> {
328
> private T[] fooArray;
329
> public void setFooArray(T[] fooArray) {
330
> this.fooArray = fooArray;
0 commit comments