避免在autoboxing过程中使用基本类型

以前就知道这个现象,不过没继续追究过。今儿打开Gmail,有封Core Java Techologies Tech Tips,正好提到这事儿,摘录如下:The primitives are equal and the values of the boxed ints are equal. But this time the ints point to different objects. What you have discovered is that for small integral values, the objects...