The type T is not generic; it cannot be parameterized with arguments <?> error in a generic function

后端 未结 0 1560
离开以前
离开以前 2021-02-15 21:28

I want to create a generic function that takes any Map & a String key, if the key is not present in the map, then it should create a new instance of the Value Type (which is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题