public static void objPoolTest() {
Integer integer=Integer.valueOf(20);
Integer i1 = 40;
Integer i2 = 40;
Integer i3 = 0;
Integer i4 = new Integer(40);
Integer i5 = new Integer(40);
Integer i6 = new Integer(0);
System.out.println("i1=i2\t" + (i1 == i2));
System.out.println("i1=i2+i3\t" + (i1 == i2 + i3));
System.out.println("i4=i5\t" + (i4 == i5));
System.out.println("i4=i5+i6\t" + (i4 == (i5 + i6)));
System.out.println("=======================");
Double d=30.2;
Double aDouble=Double.valueOf(d);
System.out.println(d==aDouble);
System.out.println("=========大于128测试");
Integer t1=40;
Integer t2=40;
System.out.println(t1==t2);
}
```