@Override
	public boolean equals(Object obj) {

		if (obj == null) {
			return false;
		}
		if (obj == this) {
			return true;
		}
		if (obj.getClass() != DataComponent.class) {
			return false;
		}
		DataComponent data = (DataComponent) obj;
		if ((indexInParent != data.indexInParent) || (offset != data.offset)) {
			return false;
		}
		return super.equals(obj);
	}
Constructs a new {@link DataComponent} for an {@link Array} element.
@param codeMgr the code manager.
@param componentCache data component cache
@param address the address of the data component
@param addr the convert address long value
@param parent the DataDB object that contains this component.
@param array the array containing this component.
@param ordinal the array index for this component.
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/code/DataComponent.java