コード例 #1
0
 @Override
 public boolean equals(java.lang.Object o) {
   if (this == o) {
     return true;
   }
   if (o == null || getClass() != o.getClass()) {
     return false;
   }
   Client client = (Client) o;
   return Objects.equals(this.client, client.client);
 }
コード例 #2
0
 @Override
 public boolean equals(java.lang.Object o) {
   if (this == o) {
     return true;
   }
   if (o == null || getClass() != o.getClass()) {
     return false;
   }
   EnumArrays enumArrays = (EnumArrays) o;
   return Objects.equals(this.justSymbol, enumArrays.justSymbol)
       && Objects.equals(this.arrayEnum, enumArrays.arrayEnum);
 }
コード例 #3
0
 /**
  * Convert the given object to string with each line indented by 4 spaces (except the first line).
  */
 private String toIndentedString(java.lang.Object o) {
   if (o == null) {
     return "null";
   }
   return o.toString().replace("\n", "\n    ");
 }