Well, equals() must use all the fields used by hashCode() , as otherwise you could get different hash codes for equal objects.
確定! 回上一頁