Sign in
googlers
/
jrn
/
git
/
bf995e7a4f94a9388aa8042dc9e338f3fcb75496
/
.
/
t
/
t4018
/
java-method-return-generic-bounded
blob: 66dd78c379a5f67f68bf3c4d165b63cfd04986f6 [
file
] [
log
] [
blame
]
class
MyExample
{
public
<
T
extends
Bar
&
Foo
<
T
>,
R
>
Map
<
T
,
R
[]>
foo
(
String
[]
RIGHT
)
{
someMethodCall
();
someOtherMethod
()
.
doThat
();
// Whatever...
return
(
List
<
T
>)
Arrays
.
asList
(
"ChangeMe"
);
}
}