?? limitsofinference12.java
字號:
// generics/LimitsOfInference12.java
// TIJ4 Chapter Generics, Exercise 12, page 635
// Repeat the previous exercise using explicit type specification.
import typeinfo.pets.*;
import java.util.*;
import net.mindview.util.*;
public class LimitsOfInference12 {
static void f(Map<Person, List<? extends Pet>> petPeople) {}
public static void main(String[] args) {
f(New.<Person, List<? extends Pet>>map());
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -