コード例 #1
0
 @Override
 public boolean equals(Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (getClass() != obj.getClass()) return false;
   ToFroFlug other = (ToFroFlug) obj;
   if (hinflug == null) {
     if (other.hinflug != null) return false;
   } else if (!hinflug.equals(other.hinflug)) return false;
   if (rueckflug == null) {
     if (other.rueckflug != null) return false;
   } else if (!rueckflug.equals(other.rueckflug)) return false;
   return true;
 }