hashCode

 

Long超过Integer.max之后,hashCode会和Integer部分重合

 

String.hashCode() 有很大可能会产生负数

 

影响分区sharding

 

posted @ 2018-11-27 20:03  funny_coding  阅读(154)  评论(0编辑  收藏  举报
build beautiful things, share happiness