@Override
	public void addAll(Collection<T> collection) {
		collection.forEach(t -> {
			if (passesFilter(t)) {
				accumulator.add(t);
			}
		});
	}
Constructor.
 
@param accumulator the accumulator to pass items to
@param passesFilterPredicate the predicate that will return true for items that should be
       allowed to pass
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/FilteringAccumulatorWrapper.java