コード例 #1
0
 @Override
 public int hashCode() {
   int code = 1;
   code = 31 * code + startTransporter.hashCode();
   code = 31 * code + end.hashCode();
   code = 31 * code + endSide.hashCode();
   return code;
 }
コード例 #2
0
 @Override
 public int hashCode() {
   int code = 1;
   code = 31 * code + super.hashCode();
   code = 31 * code + side.ordinal();
   code = 31 * code + valveLocation.hashCode();
   return code;
 }
コード例 #3
0
 @Override
 public int hashCode() {
   int code = 1;
   code = 31 * code + location.hashCode();
   code = 31 * code + height;
   code = 31 * code + length;
   code = 31 * code + width;
   return code;
 }