import java.util.*;
public class Test {
public static void main(String[] args) {
Map<Integer,String> m = new HashMap<Integer,String>();
m.put(1,"one");
m.put(3,"three");
m.put(9,"nine");
m.put(2,"two");
Set s = m.entrySet();
System.out.println(s);
}
}
直接打印s为什么能输出这个结果
[1=one, 2=two, 3=three, 9=nine]
调用的是哪个方法?