//先入先出
public class Test {
public static void main(String[] args) {
LinkedHashMap<String,Object> map = new LinkedHashMap<String,Object>();
map.put("1", "one");
map.put("2", "tow");
for(Entry<String,Object> e: map.entrySet()){
System.out.println(e.getKey()+":"+e.getValue());
}
}
}