Chinaunix首页 | 论坛 | 博客
  • 博客访问: 53312
  • 博文数量: 27
  • 博客积分: 1505
  • 博客等级: 上尉
  • 技术积分: 304
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-19 13:25
文章分类

全部博文(27)

文章存档

2015年(14)

2014年(4)

2013年(2)

2012年(1)

2011年(4)

2010年(2)

我的朋友

发布时间:2015-12-05 14:20:12

identityHashCode的官方API说明:Returns the same hash code for the given object as would be returned by the default method hashCode(), whether or not the given object's class overrides hashCode(). The hash code for the null reference is zero.返回的hashCode与默认的hashCode方法返回值一样,无论hashCod.........【阅读全文】

阅读(461) | 评论(0) | 转发(0)

发布时间:2015-12-05 13:44:00

System.getProperties()与System.getenv()的区别1、System.getenv():获取的是操作系统的变量如,path,java_home等,在系统环境变量里面进行配置;2、System.getProperties():获取的JAVA虚拟机的运行时环境变量,是数据java虚拟机自己的,通过-Dxxxx参数进行指定;如java.runtime.name,sun.boot.library.path等;举.........【阅读全文】

阅读(1656) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册