断言的好处:引用 Core Java 7的一句话
The assertion mechanism allows you to put in checks during testing and to have them automatically removed in the production code.
即:在写代码时进行测试检查,在发布程序的时候屏蔽测试检查
posted on 2008-05-12 16:14
doodoosun 阅读(234)
评论(0) 编辑 收藏 所属分类:
Java