blob: f0dc49e12df0a76124952002d88cffa754d8a881 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package pkg;
import java.util.List;
public class Java5Class {
public void method2(List l) {
}
public void genericMethod1(List<String> s) {
}
public void genericMethod2(List<String> s, MyGenericClass<Integer> m) {
}
public void genericMethod3(int i, List<String> s) {
}
public void genericMethod4(MyGenericClass2<String,Integer> m) {}
}
class MyGenericClass<T> {}
class MyGenericClass2<X,Y> {}
|