public class Object { public boolean equals(Object o) { return this==o; } }
two object references are equalonly if they are pointing to the same object.
可以重写equal 方法。