/** * @return The hash code computed from the id. */ @Override public int hashCode() { return this.id.hashCode(); }
@Override public final int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((this.player == null) ? 0 : this.player.hashCode()); return result; }
@Override public int hashCode() { final int PRIME = 31; int result = 1; result = (int) (PRIME * result + this.date); result = PRIME * result + ((this.content == null) ? 0 : this.content.hashCode()); result = PRIME * result + (this.read ? 1231 : 1237); result = PRIME * result + ((this.receiver == null) ? 0 : this.receiver.hashCode()); result = PRIME * result + ((this.sender == null) ? 0 : this.sender.hashCode()); return result; }
@Override public int hashCode() { int result = player.hashCode(); result = 31 * result + login.hashCode(); result = 31 * result + status.hashCode(); return result; } }
@Override public int hashCode() { int result = entity.hashCode(); result = 31 * result + newOwnerId.hashCode(); return result; } }