Пример #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;
 }