private MemoryMatch getFirstMatchIfReduced(List<MemoryMatch> matches,
				List<MemoryMatch> scanResults) {
			MemoryMatch firstIfReduced = null;
			if (!scanResults.isEmpty() && scanResults.size() != matches.size()) {
				firstIfReduced = scanResults.isEmpty() ? null : scanResults.getFirst();
			}
			return firstIfReduced;
		}
Internal panel of the memory search window that manages the display of the search results
in a table. This panel also includes most of the search logic as it has direct access to the
table for showing the results.
Ghidra/Features/Base/src/main/java/ghidra/features/base/memsearch/gui/MemorySearchResultsPanel.java