public class BoxingTest { @Test public void test1(){ String a = new String("1"); String b = new String("1"); Long c = 1L; System.out.println(a == b); System.out.println(c.equals(a)); String d = "1"; String e = "1"; System.out.println(d==e); } }
语法糖dsl的参考文档如下:
http://blog.csdn.net/ol_beta/article/details/6787234
http://www.cnblogs.com/trytocatch/p/3545244.html
使用DSL进行压力测试