运用equals来比对对象或者是对象集合的removeAll等是需要重写equals和hashCode,IDEA重写equals和hashCode

NoSuchKey

猜你喜欢

转载自www.cnblogs.com/pzw23/p/12000755.html