repo.or.cz
/
alt-git.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'l10n-de-2.40' of github.com:ralfth/git
[alt-git.git]
/
t
/
t4018
/
java-method-return-generic-bounded
blob
66dd78c379a5f67f68bf3c4d165b63cfd04986f6
1
class 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
}