@Override
	public int getLength() {
		validate(lock);
		if (getNumElements() == 0) {
			return 1; // 0-length datatype instance not supported
		}
		return getNumElements() * getElementLength();
	}
Constructor
@param dataMgr
@param cache
@param adapter
@param record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/data/ArrayDB.java