@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (proteinDetectionProtocol != null ? proteinDetectionProtocol.hashCode() : 0); result = 31 * result + searchDataBases.hashCode(); result = 31 * result + spectrumIdentificationProtocols.hashCode(); return result; }
@Override public int hashCode() { int result = super.hashCode(); result = 31 * result + (protocol != null ? protocol.hashCode() : 0); result = 31 * result + (int) tosOverwrite; result = 31 * result + (int) tosMask; result = 31 * result + srcAddress.hashCode(); result = 31 * result + dstAddress.hashCode(); result = 31 * result + (int) srcPort; result = 31 * result + (int) dstPort; result = 31 * result + (int) priority; return result; }
public int hashCode() { return location.hashCode() + protocol.hashCode(); }