map中key是不能重复的,当我们对相同的key进行put操作时,最后一个key对应的value会把前一个相同的value覆盖掉。

https://blog.csdn.net/weixin_40159122/article/details/104810198