@Override
	public void addAll(Collection<T> collection) {
		for (T t : collection) {
			consumer.accept(t);
		}
	}
Constructor

@param consumer the consumer that will get called each time an item is added
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/CallbackAccumulator.java