Does anyone know where I can find a discussion on how type inference works when using Generics in Java.
From stackoverflow
-
This is originally specified in Section 15.12.2.7 of the Java Language Specification, as a result of the Java Specification Requests #14.
You may also find various discussions on the subject, such as Generics - type inference from context or Type Argument Inference at the Generics FAQ, etc.
Cheers, V.
-
I recommend Angelika Langer's site for more information on Java generics. She does have a discussion on type inference.
-
i had to read the book: https://java-generics-book.dev.java.net/
0 comments:
Post a Comment