镜像自地址
https://github.com/eclipse-aspectj/aspectj.git
已同步 2024-08-17 14:10:58 +02:00
17 行
524 B
Java
17 行
524 B
Java
public class AutoboxingJ {
|
|
|
|
public static void method_takes_Long(Long i) { System.err.println("method_takes_Long="+i);}
|
|
public static void method_takes_long(long i) { System.err.println("method_takes_long="+i);}
|
|
|
|
public static void main(String[] argv) {
|
|
Long one = new Long(1000000);
|
|
long two = 2000000;
|
|
Long three = new Long(3000000);
|
|
long four = 4000000;
|
|
method_takes_Long(one);
|
|
method_takes_Long(two);
|
|
method_takes_long(three);
|
|
method_takes_long(four);
|
|
}
|
|
}
|