文章列表
package oo;
/**
* 目的:一个工具类,返回字符串的全拼
*/
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Set;
public class Cna{
private static LinkedHashMap<String, Integer> spellMap = null;
private static String cnSpell; //储存拼 ...
- 2007-09-25 02:07
- 浏览 1699
- 评论(0)
import java.util.*;
public class Test4 {
public void a(){
Map map1 = new Hashtable();
map1.put("张三", 20);
map1.put("李四", 30);
map1.put("张三", 40);
map1.put("李五", 23);
Iterator it1 = map1.entrySet().iterator();
for (int i = 0; i < map1 ...
- 2007-09-25 02:04
- 浏览 1046
- 评论(0)