コード例 #1
0
 /**
  * Computes the hashCode as the sum of {@link #getProjectId()#hashCode()} and {@link
  * #getSubject()#hashCode()}.
  *
  * @return The hashcode based on the result of {@link #getProjectId()} and {@link #getSubject()}.
  */
 @Override
 public int hashCode() {
   return "HasSubjectAndProjectBase".hashCode() + projectId.hashCode() + subject.hashCode();
 }
コード例 #2
0
 @Override
 public int hashCode() {
   return "EditorContext".hashCode() + projectId.hashCode() + selectedEntityData.hashCode();
 }