Debian Codegraph @

framework/tests/all-systems/GenericTest12.java

raw
1 // Test case from Issue 142
2 abstract class GenericTest12 {
3 interface Task<V> {}
4
5 abstract <M> Task<M> create(Runnable runnable, M result);
6
7 void submit(Runnable runnable) {
8 Task<Void> task = create(runnable, null);
9 }
10 }