思考对于各种容器对相等的理解

只要equals返回true

只要compare返回0

既equals又hashCode

原文地址:https://www.cnblogs.com/joyeehe/p/7896623.html