Convert Map to Map

后端 未结 11 1833
暗喜
暗喜 2021-01-31 13:27

How can I convert Map to Map ?

This does not work:

Map map = ne         


        
11条回答
  •  既然无缘
    2021-01-31 14:19

    Not possible.

    This a little counter-intuitive.

    You're encountering the "Apple is-a fruit" but "Every Fruit is not an Apple"

    Go for creating a new map and checking with instance of with String

提交回复
热议问题