@Override public boolean equals(Object object) { if (object instanceof FieldDef) { @SuppressWarnings("unchecked") FieldDef<T> other = (FieldDef<T>) object; boolean dataSchemaEquals; if (this._dataSchema == null) { dataSchemaEquals = (other._dataSchema == null); } else { dataSchemaEquals = this._dataSchema.equals(other._dataSchema); } return this._name.equals(other._name) && this._type.equals(other._type) && dataSchemaEquals; } return false; }
@Override public boolean equals(Object object) { boolean result = false; if (this == object) { result = true; } else if (object != null && object.getClass() == Member.class) { Member other = (Member) object; result = ((_alias == null) ? other._alias == null : _alias.equals(other._alias)) && _type.equals(other._type) && _doc.equals(other._doc) && _properties.equals(other._properties) && _hasError == other._hasError; } return result; }
@Override public boolean equals(Object object) { if (this == object) { return true; } if (object != null && object.getClass() == ArrayDataSchema.class) { ArrayDataSchema other = (ArrayDataSchema) object; return super.equals(other) && _items.equals(other._items); } return false; }
@Override public boolean equals(Object object) { if (this == object) { return true; } if (object != null && object.getClass() == TyperefDataSchema.class) { TyperefDataSchema other = (TyperefDataSchema) object; return super.equals(other) && _referencedType.equals(other._referencedType); } return false; }
@Override public boolean equals(Object object) { if (this == object) { return true; } if (object != null && object.getClass() == MapDataSchema.class) { MapDataSchema other = (MapDataSchema) object; return super.equals(other) && _values.equals(other._values); } return false; }
@Override public boolean equals(Object object) { // _record is not considered when computing equals boolean result; if (object == this) { result = true; } else if (object != null && object.getClass() == Field.class) { Field other = (Field) object; result = _hasError == other._hasError && _type.equals(other._type) && _name.equals(other._name) && _doc.equals(other._doc) && ((_defaultValue == null && other._defaultValue == null) || (_defaultValue != null && _defaultValue.equals(other._defaultValue))) && _optional == other._optional && _order == other._order && _aliases.equals(other._aliases) && _properties.equals(other._properties); } else { result = false; } return result; }
else if (!schemaFromClassName.equals(schema))
if (inferredSchema.equals(derefSchema))