public void process(
			BiFunction<List<ROW_OBJECT>, TableSortingContext<ROW_OBJECT>, List<ROW_OBJECT>> function) {

		if (!isSorted()) {
			return;
		}

		if (source != null) {
			source.process(function);
		}

		data = function.apply(data, sortContext);
	}
A generic method that allows clients to process the contents of this table data.  This
method is not synchronized and should only be called from a {@link TableUpdateJob} or
one of its callbacks.

<P>Note: this method will do nothing if the data is not sorted.

@param function the consumer of the data and the current sort context
Ghidra/Framework/Docking/src/main/java/docking/widgets/table/threaded/TableData.java