interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / t4018 / java-method-return-generic-bounded

9 lines · 249 bytes Raw Blame History
1class MyExample {
2 public <T extends Bar & Foo<T>, R> Map<T, R[]> foo(String[] RIGHT) {
3 someMethodCall();
4 someOtherMethod()
5 .doThat();
6 // Whatever...
7 return (List<T>) Arrays.asList("ChangeMe");
8 }
9}