Timeline for Are there only 2 places you can declare new generic type parameters in Java?
Current License: CC BY-SA 3.0
6 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 10, 2016 at 13:46 | history | tweeted | twitter.com/StackSoftEng/status/807582228981153792 | ||
| Nov 27, 2016 at 13:37 | vote | accept | GlenPeterson | ||
| Nov 17, 2016 at 15:49 | answer | added | amon | timeline score: 4 | |
| Nov 17, 2016 at 15:43 | comment | added | GlenPeterson | @KilianFoth instance methods are often limited by inheriting from a super-class or interface, but yes, you're right for instance methods that don't override any other methods. | |
| Nov 17, 2016 at 14:59 | comment | added | Kilian Foth | The method doesn't have to be static. It's just that instance methods can reuse the declaration from their class, and it's usually a good idea to do so, therefore you rarely see type declarations on them. | |
| Nov 17, 2016 at 14:55 | history | asked | GlenPeterson | CC BY-SA 3.0 |