将arraylist添加到hashmap [英] adding arraylist to hashmap

查看:339
本文介绍了将arraylist添加到hashmap的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有2个arraylist,即s3 = s [0]& s4 = s [1],
包含一些值,我该如何将它们添加到hashmap中,任何人都可以答复我

i have 2 arraylist ie s3=s[0]&s4=s[1] ,
containing some values how can i add them to hashmap,anyone reply me

推荐答案

可能是通过使用
Probably by using one of the methods described here[^].


这篇关于将arraylist添加到hashmap的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆