How to get values and keys from HashMap?

前端 未结 10 1565
無奈伤痛
無奈伤痛 2020-12-08 01:56

I\'m writing a simple edit text in Java. When the user opens it, a file will be opened in JTabbedPane. I did the following to save the files opened:

10条回答
  •  無奈伤痛
    2020-12-08 02:27

    It will work with hash.get("key"); Where key is your key for getting the value from Map

提交回复
热议问题