Creating Arrays of Generic Types in Java

前端 未结 5 1925
半阙折子戏
半阙折子戏 2021-01-18 09:11

So I know that you cannot \"easily\" create an array of a generic type in Java (but you can create collections). I recently ran across a situation where I needed a 2 dimens

5条回答
提交回复
热议问题