@Override public int hashCode() { int result; long temp; result = ( pk != null ? pk.hashCode() : 0 ); result = 31 * result + ( shortLabel1 != null ? shortLabel1.hashCode() : 0 ); result = 31 * result + ( shortLabel2 != null ? shortLabel2.hashCode() : 0 ); result = 31 * result + ( taxid != null ? taxid.hashCode() : 0 ); temp = weight != +0.0d ? Double.doubleToLongBits( weight ) : 0L; result = 31 * result + ( int ) ( temp ^ ( temp >>> 32 ) ); result = 31 * result + graphId; result = 31 * result + ( experiment != null ? experiment.hashCode() : 0 ); result = 31 * result + ( detectionMethod != null ? detectionMethod.hashCode() : 0 ); result = 31 * result + ( pubmedId != null ? pubmedId.hashCode() : 0 ); return result; } }
@Override public int hashCode() { int result; long temp; result = ( pk != null ? pk.hashCode() : 0 ); result = 31 * result + ( shortLabel1 != null ? shortLabel1.hashCode() : 0 ); result = 31 * result + ( shortLabel2 != null ? shortLabel2.hashCode() : 0 ); result = 31 * result + ( taxid != null ? taxid.hashCode() : 0 ); temp = weight != +0.0d ? Double.doubleToLongBits( weight ) : 0L; result = 31 * result + ( int ) ( temp ^ ( temp >>> 32 ) ); result = 31 * result + graphId; result = 31 * result + ( experiment != null ? experiment.hashCode() : 0 ); result = 31 * result + ( detectionMethod != null ? detectionMethod.hashCode() : 0 ); result = 31 * result + ( pubmedId != null ? pubmedId.hashCode() : 0 ); return result; } }
@Override public int hashCode() { int result = super.hashCode(); // result = 29 * result + bioSource.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( publication != null ? publication.hashCode() : 0 ); result = 29 * result + ( cvIdentification != null ? cvIdentification.hashCode() : 0 ); result = 29 * result + ( cvInteraction != null ? cvInteraction.hashCode() : 0 ); return result; }
@Override public int hashCode() { int result = super.hashCode(); // result = 29 * result + bioSource.hashCode(); result = 29 * result + ( bioSource != null ? bioSource.hashCode() : 0 ); result = 29 * result + ( publication != null ? publication.hashCode() : 0 ); result = 29 * result + ( cvIdentification != null ? cvIdentification.hashCode() : 0 ); result = 29 * result + ( cvInteraction != null ? cvInteraction.hashCode() : 0 ); return result; }