Java HashMap with Object as value along with anything that extends it?

后端 未结 0 331
庸人自扰
庸人自扰 2020-12-04 15:46

I have a HashMap that takes a string as a key and an object as the value, in this case a class I made called ItemBuilder. I can put another class that extends it as a value,

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