private Set<V> findCurrentVerticesFailingTheFilter(Set<V> validVertices) {

		UnmodifiableIterator<V> nonMatchingIterator =
			Iterators.filter(filterGraph.getUnfilteredVertices(), v -> !validVertices.contains(v));
		Set<V> nonMatching = asSet(nonMatchingIterator);
		return nonMatching;
	}
Constructor

@param viewer the viewer upon which to operate
@param graph the graph to filter
@param filter the predicate used to determine what passes the filter
@param remove true signals to remove the vertices from the view; false signals to leave
              them visible, but faded to show that they failed the filter
Ghidra/Framework/Graph/src/main/java/ghidra/graph/job/FilterVerticesJob.java