コード例 #1
0
  @Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof DescribeLocationsResult == false) return false;
    DescribeLocationsResult other = (DescribeLocationsResult) obj;
    if (other.getLocations() == null ^ this.getLocations() == null) return false;
    if (other.getLocations() != null && other.getLocations().equals(this.getLocations()) == false)
      return false;
    return true;
  }