如果是
new Integer(1)每次都是新的,如果是Integer i = 1;则会调用Integer.valueOf()方法,这个方法对-128-127之间的整数做了缓存