コード例 #1
0
  @Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    if (!super.equals(o)) return false;

    CreateJobResponse that = (CreateJobResponse) o;

    return !(Response != null ? !Response.equals(that.Response) : that.Response != null);
  }
コード例 #2
0
 @Override
 public int hashCode() {
   int result = super.hashCode();
   result = 31 * result + (Response != null ? Response.hashCode() : 0);
   return result;
 }