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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -