hashcode

java中规定,俩个内容相同的对象,具有相同的hashcodes

重写hashcode()必须和equal一起

posted @ 2013-08-21 17:26  Iamsnail  阅读(172)  评论(0)    收藏  举报