in services-custom/dynamodb-enhanced/src/main/java/software/amazon/awssdk/enhanced/dynamodb/internal/converter/attribute/EnhancedAttributeValue.java [673:715]
public boolean equals(Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
EnhancedAttributeValue that = (EnhancedAttributeValue) o;
if (isNull != that.isNull) {
return false;
}
if (type != that.type) {
return false;
}
if (mapValue != null ? !mapValue.equals(that.mapValue) : that.mapValue != null) {
return false;
}
if (stringValue != null ? !stringValue.equals(that.stringValue) : that.stringValue != null) {
return false;
}
if (numberValue != null ? !numberValue.equals(that.numberValue) : that.numberValue != null) {
return false;
}
if (bytesValue != null ? !bytesValue.equals(that.bytesValue) : that.bytesValue != null) {
return false;
}
if (booleanValue != null ? !booleanValue.equals(that.booleanValue) : that.booleanValue != null) {
return false;
}
if (setOfStringsValue != null ? !setOfStringsValue.equals(that.setOfStringsValue) : that.setOfStringsValue != null) {
return false;
}
if (setOfNumbersValue != null ? !setOfNumbersValue.equals(that.setOfNumbersValue) : that.setOfNumbersValue != null) {
return false;
}
if (setOfBytesValue != null ? !setOfBytesValue.equals(that.setOfBytesValue) : that.setOfBytesValue != null) {
return false;
}
return listOfAttributeValuesValue != null ? listOfAttributeValuesValue.equals(that.listOfAttributeValuesValue)
: that.listOfAttributeValuesValue == null;
}