日期:2014-05-20 浏览次数:20681 次
import java.util.HashMap; import java.util.Map; public class Test { public static void main(String [] args) { Map<String,String> map = new HashMap<String, String> (); map.put(String.valueOf(System.currentTimeMillis()) + "a", "1"); map.put(String.valueOf(System.currentTimeMillis()) + "b", "2"); map.put(String.valueOf(System.currentTimeMillis()) + "c", "3"); System.out.println(map); } }