请问HashMap.keySet()是什么意思啊,请大家说说?
它表示取HashMap里的什么啊 问题点数:15、回复次数:5Top
1 楼jinchenjie(野牛)回复于 2005-07-03 12:31:43 得分 0
你们怎么都不会啊?Top
2 楼yeyi001(椰海艺恋)回复于 2005-07-03 17:28:16 得分 4
应该是表示键值把Top
3 楼huangyubinde(小菜)回复于 2005-07-03 17:45:31 得分 2
肯定是键值呀Top
4 楼zydgyy(zhouyu)回复于 2005-07-03 18:30:43 得分 4
获取键集Top
5 楼yangbc(土豆块)回复于 2005-07-03 19:20:53 得分 5
public Set keySet()
Returns a set view of the keys contained in this map. The set is backed by the map, so changes to the map are reflected in the set, and vice-versa. The set supports element removal, which removes the corresponding mapping from this map, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations.Top




