Beispiel #1
0
 @Override
 public final int hashCode() {
   final int prime = 31;
   int result = 1;
   result = prime * result + baby.hashCode();
   result = prime * result + plural.hashCode();
   result = prime * result + matchedPattern;
   result = prime * result + info.hashCode();
   result = prime * result + hashCode_i();
   return result;
 }
Beispiel #2
0
 @Override
 public final boolean equals(final @Nullable Object obj) {
   if (this == obj) return true;
   if (obj == null) return false;
   if (!(obj instanceof EntityData)) return false;
   final EntityData other = (EntityData) obj;
   if (baby != other.baby) return false;
   if (plural != other.plural) return false;
   if (matchedPattern != other.matchedPattern) return false;
   if (!info.equals(other.info)) return false;
   return equals_i(other);
 }