예제 #1
0
파일: Emplacement.java 프로젝트: twiked/GP
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   Emplacement other = (Emplacement) obj;
   if (numeroEmplacement != other.numeroEmplacement) return false;
   if (ponton == null) {
     if (other.ponton != null) return false;
   } else if (!ponton.equals(other.ponton)) return false;
   if (type == null) {
     if (other.type != null) return false;
   } else if (!type.equals(other.type)) return false;
   return true;
 }