728x90
Foo.<String>createFoo();
https://stackoverflow.com/questions/5297978/calling-static-generic-methods
Calling static generic methods
I have come across a curious situation involving static generic methods. This is the code: class Foo { public static Foo createFoo() { // ... } } c...
stackoverflow.com
728x90
'공부 (@Deprecated)' 카테고리의 다른 글
| [MySQL] IFNULL(MYSQL), ISNULL(MSSQL), NVL(ORACLE) (0) | 2021.11.08 |
|---|---|
| [MySQL] DATE_FORMAT(date, '%Y-%m-%d') (0) | 2021.11.08 |
| [Java] Dynamic cast in generic (0) | 2021.11.08 |
| [Java] Stream GroupBy (0) | 2021.11.05 |
| What is the purpose of List<?> if one can only insert a null value? (0) | 2021.11.05 |