Object[] toArray(Direction direction, KeySpan keySpan) {
			ArrayList<E> list = new ArrayList<>();
			toList(list, direction, keySpan);
			return list.toArray();
		}
Convert the raw component to an element

@param raw the raw component
@return the element
@throws IOException if there's an issue reading the table
Ghidra/Debug/ProposedUtils/src/main/java/ghidra/util/database/DBCachedObjectStore.java