コード例 #1
0
 @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;
 }
コード例 #2
0
 @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;
 }
コード例 #3
0
ファイル: Filename.java プロジェクト: hammurabi-mendes/Hammr
 public int hashCode() {
   return location.hashCode() + protocol.hashCode();
 }