@Override
	public void add(T t) {
		if (accumulator.size() >= maxSize) {
			throw new AccumulatorSizeException(maxSize);
		}
		accumulator.add(t);
	}
Constructor.
 
@param accumulator the accumulator to pass items to
@param maxSize the maximum number of items this accumulator will hold
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/SizeRestrictedAccumulatorWrapper.java