예제 #1
0
 @Override
 public int hashCode() {
   int result = item != null ? item.hashCode() : 0;
   result = 31 * result + (owner != null ? owner.hashCode() : 0);
   result = 31 * result + (datePlaced != null ? datePlaced.hashCode() : 0);
   result = 31 * result + (dateEnd != null ? dateEnd.hashCode() : 0);
   result = 31 * result + (startPrice != null ? startPrice.hashCode() : 0);
   result = 31 * result + (buyer != null ? buyer.hashCode() : 0);
   result = 31 * result + (currentPrice != null ? currentPrice.hashCode() : 0);
   return result;
 }
예제 #2
0
 @Override
 public int hashCode() {
   int result = 17;
   result += 37 * result + login.hashCode() + password.hashCode();
   result += 37 * result + email.hashCode() + dateOfRegistration.hashCode();
   return result;
 }
예제 #3
0
 @Override
 public int hashCode() {
   int result = firstName != null ? firstName.hashCode() : 0;
   result = 31 * result + (lastName != null ? lastName.hashCode() : 0);
   result = 31 * result + (displayName != null ? displayName.hashCode() : 0);
   result = 31 * result + (birthday != null ? birthday.hashCode() : 0);
   result = 31 * result + (gender != null ? gender.hashCode() : 0);
   result = 31 * result + (address != null ? address.hashCode() : 0);
   result = 31 * result + (zipcode != null ? zipcode.hashCode() : 0);
   result = 31 * result + (city != null ? city.hashCode() : 0);
   result = 31 * result + (phoneNumber != null ? phoneNumber.hashCode() : 0);
   result = 31 * result + (notes != null ? notes.hashCode() : 0);
   return result;
 }
예제 #4
0
 public int hashCode() {
   return startDate.hashCode() ^ endDate.hashCode();
 }
예제 #5
0
 @Override
 public int hashCode() {
   return value.hashCode();
 }