Beispiel #1
0
 @Override
 public int hashCode() {
   int result = date.hashCode();
   result = 31 * result + from.hashCode();
   result = 31 * result + to.hashCode();
   result = 31 * result + content.hashCode();
   return result;
 }
Beispiel #2
0
 @Override
 public int hashCode() {
   int result = id;
   result = 31 * result + (creator != null ? creator.hashCode() : 0);
   result = 31 * result + (createdAt != null ? createdAt.hashCode() : 0);
   result = 31 * result + (isPullRequest ? 1 : 0);
   result = 31 * result + (title != null ? title.hashCode() : 0);
   result = 31 * result + (description != null ? description.hashCode() : 0);
   result = 31 * result + (updatedAt != null ? updatedAt.hashCode() : 0);
   result = 31 * result + (markedReadAt != null ? markedReadAt.hashCode() : 0);
   result = 31 * result + commentCount;
   result = 31 * result + (isOpen ? 1 : 0);
   result = 31 * result + (assignee != null ? assignee.hashCode() : 0);
   result = 31 * result + (labels != null ? labels.hashCode() : 0);
   result = 31 * result + (milestone != null ? milestone.hashCode() : 0);
   return result;
 }
Beispiel #3
0
 @Override
 public int hashCode() {
   int result = id.hashCode();
   result = 31 * result + title.hashCode();
   result = 31 * result + notes.hashCode();
   result = 31 * result + created.hashCode();
   return result;
 }
Beispiel #4
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;
 }
Beispiel #5
0
 @Override
 public int hashCode() {
   int result = id;
   result = 31 * result + (text != null ? text.hashCode() : 0);
   result = 31 * result + (rating != null ? rating.hashCode() : 0);
   result = 31 * result + (authorId != null ? authorId.hashCode() : 0);
   result = 31 * result + (recipeId != null ? recipeId.hashCode() : 0);
   result = 31 * result + (creationTime != null ? creationTime.hashCode() : 0);
   return result;
 }