Beispiel #1
0
 @Override
 public int hashCode() {
   int result = id != null ? id.hashCode() : 0;
   result = 31 * result + (name != null ? name.hashCode() : 0);
   result = 31 * result + (creationTime != null ? creationTime.hashCode() : 0);
   result = 31 * result + (profile != null ? profile.hashCode() : 0);
   result = 31 * result + (booksCount != null ? booksCount.hashCode() : 0);
   return result;
 }