您的位置:首页 > 数据库

ORA-01078,LRM-00109参数文件问题,导致数据库无法启动

2013-12-27 20:04 801 查看
1.Boolean
It is rarely appropriate to use this constructor. Unless a new instance is required, the static factory valueOf(boolean) is generally a better choice. It is likely to yield significantly better space and time performance.
public void testBoolean() {
long startTime = System.nanoTime();
for (int i = 0; i < 1000; i++) {
Boolean b = new Boolean(false);//Total: 167008 nanos.
//Boolean b = Boolean.valueOf(false);//Total: 110343 nanos.
}
long endTime = System.nanoTime();
System.out.println("Total: " + (endTime - startTime) + " nanos.");
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐