@Override
	public int getColumnIndex(Object columnIdentifier) {
		if (columnIdentifier == null) {
			throw new IllegalArgumentException("Identifier is null");
		}
		for (int i = 0; i < visibleColumns.size(); i++) {
			TableColumn tableColumn = visibleColumns.get(i);
			if (columnIdentifier.equals(tableColumn.getIdentifier())) {
				return i;
			}
		}
		return -1;
	}
This method will make sure that there are no existing columns in this model's complete
list of columns (visible and hidden) that have the same <b>table model</b> index as
the given index.  This prevents duplicate columns from being added, since clients of this
class do not know about hidden columns and may thus try to add a column that already
exists, but is hidden.
@param modelIndex The table model index of the column that should be removed
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/GTableColumnModel.java