protected int getIndexForRowObject(T rowObject, List<T> data) {
		return data.indexOf(rowObject);
	}
Returns the index for the given object in the given list; -1 when the item is not in
the list.

@param rowObject the item
@param data the data
@return the index
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/AbstractGTableModel.java