How can we describe T<S> as return type for a method using generics in java -
how can describe t<s>
return type method
<t,s> t<s> getresult(class<t> tclass, class<s> sclass)
you can't, basically. there's no way of describing "a generic type 1 type parameter" , using this.
Comments
Post a Comment