blob: 6788a98b215c27e25a441a7a9930feb3127bfe9b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class Test {
static class TKey<T> {
}
public interface Getter {
<T> T getValue(TKey<T> key);
}
static final TKey<Integer> KEY_I = null;
public static void f(Getter getter, TKey<Integer> key) {
double d1 = getter.getValue (key);
}
}
|