Beispiel #1
0
 public @java.lang.Override @java.lang.SuppressWarnings("all") boolean equals(
     final java.lang.Object o) {
   if ((o == this)) return true;
   if ((!(o instanceof Data1))) return false;
   final Data1 other = (Data1) o;
   if ((!other.canEqual((java.lang.Object) this))) return false;
   if ((this.getX() != other.getX())) return false;
   if (((this.getName() == null)
       ? (other.getName() != null)
       : (!this.getName().equals((java.lang.Object) other.getName())))) return false;
   return true;
 }
Beispiel #2
0
 public @java.lang.Override @java.lang.SuppressWarnings("all") @javax.annotation.Generated(
     "lombok") boolean equals(final java.lang.Object o) {
   if ((o == this)) return true;
   if ((!(o instanceof Data1))) return false;
   final Data1 other = (Data1) o;
   if ((!other.canEqual((java.lang.Object) this))) return false;
   if ((this.getX() != other.getX())) return false;
   final java.lang.Object this$name = this.getName();
   final java.lang.Object other$name = other.getName();
   if (((this$name == null) ? (other$name != null) : (!this$name.equals(other$name))))
     return false;
   return true;
 }