_hashCode += getType().hashCode(); if (getFieldsToNull() != null) { for (int i = 0; i < java.lang.reflect.Array.getLength(getFieldsToNull()); i++) { java.lang.Object obj = java.lang.reflect.Array.get(getFieldsToNull(), i); if (obj != null && !obj.getClass().isArray()) {
public synchronized boolean equals(java.lang.Object obj) { if (!(obj instanceof SObject)) return false; SObject other = (SObject) obj; if (obj == null) return false; if (this == obj) return true; if (__equalsCalc != null) { return (__equalsCalc == obj); } __equalsCalc = obj; boolean _equals; _equals = true && ((this.type == null && other.getType() == null) || (this.type != null && this.type.equals(other.getType()))) && ((this.fieldsToNull == null && other.getFieldsToNull() == null) || (this.fieldsToNull != null && java.util.Arrays.equals(this.fieldsToNull, other.getFieldsToNull()))) && ((this.id == null && other.getId() == null) || (this.id != null && this.id.equals(other.getId()))) && ((this._any == null && other.get_any() == null) || (this._any != null && java.util.Arrays.equals(this._any, other.get_any()))); __equalsCalc = null; return _equals; }