HashMap 的设置值,取值,遍历等
生活随笔
收集整理的這篇文章主要介紹了
HashMap 的设置值,取值,遍历等
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Map<String, String>map = new HashMap<String,String>();
map.put(“code”, employee.getMarkCode());
map.put(“name”, employee.getName());
map.put(“mobile”, employee.getMobile());
session.setAttribute(“account”, map);
頁面
總結
以上是生活随笔為你收集整理的HashMap 的设置值,取值,遍历等的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 使用uni-app开发微信小程序之登录模
- 下一篇: input 只输入数字并限制最大输入长度