Why isn't Eclipse showing a build error for generic HashMap key access with String?

前端 未结 0 1558
走了就别回头了
走了就别回头了 2021-01-30 07:20
HashMap aGenericMap = new HashMap();
Integer x = aGenericMap.get("HeyImInvalid");

In my previo

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