Set<String> java.util.Map.keySet()
2011-06-27 13:12
447 查看
Set<String> java.util.Map.keySet()
Returns a
Returns: a set view of the keys contained in this map
Returns a
Setview 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. If the map is modified while an iteration over the set is in progress (except through the iterator's own remove operation), the results of the iteration are undefined. The set supports element removal, which removes the corresponding mapping from the map, via the Iterator.remove, Set.remove, removeAll, retainAll, and clear operations. It does not support the add or addAll operations.
Returns: a set view of the keys contained in this map
相关文章推荐
- 使用第三方工具,将JavaBean对象或者List<JavaBean/String/Integer>或Set或Map对象转成JSON
- Java List<Map<String, Object>>生成树
- JAVA中对List<Map<String,Object>>中的中文汉字进行排序
- Java学习笔记(八):Map<stirng,string>的遍历的四种方法
- 利用java反射机制实现List<Map<String, Object>>转化为List<JavaBean>
- c++如何往map<string, set<string> > 添加数据
- java ArrayList<Map<String,String>>排序
- Java List<Map<String, Object>>生成树
- java 将jso 格式的字符串转换为List<Map<String,String>>
- java中map<string,int>
- java中Map<String,Double>map按照value降序排列 Map<String,Double>map=new TreeMap<String,Double>(); map.put("
- List<Map<String,Object>>使用Java代码遍历以获取String,Object的值
- Java基础知识强化之集合框架笔记59:Map集合之TreeMap(TreeMap<String,String>)的案例
- JAVA中对List<Map<String,Object>>中的中文汉字进行排序
- List<Map<String,Object>>使用Java代码遍历以获取String,Object的值
- java如何解析json字符串(List<Map<String,Object>成功的类型)
- c++如何往map<string, set<string> > 添加数据
- Java集合转换【List<-->数组、List<-->Set、数组<-->Set、Map-->Set、Map-->List】
- java.util.Set<E>
- List<Map<String,Object>>如何使用Java代码遍历以获取String,Object的值