@Override
	public void add(E item) {
		if (size() > maxSize) {
			list.remove(0);
		}
		super.add(item);
	}
Creates a fixed size stack with the specified
max size.
@param maxSize the max size of the stack
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/FixedSizeStack.java