摘要: 1 final int hash(Object key){ 2 3 // 如果为null则返回0 4 if(key == null){ 5 return 0; 6 } 7 8 // 不为null则先获取hashCode 9 int h = key.hashCode(); 10 11 // hashC 阅读全文
posted @ 2020-04-01 23:49 cbhe 阅读(155) 评论(0) 推荐(0)
摘要: 1 <maven> 2 <dependencies> 3 <dependency> 4 ... 5 </dependency> 6 </dependencies> 7 8 <!-- 使用filters中指定的文件中的配置对resource中的引用变量进行解析 --> 9 <!-- 为什么叫filte 阅读全文
posted @ 2020-04-01 17:22 cbhe 阅读(2833) 评论(0) 推荐(0)