@Override
	public Long previous() {
		if (!hasPrevious()) {
			throw new NoSuchElementException();
		}
		lastReturnedIndex = nextIndex -1;
		return list.get(--nextIndex);
	}
Doubles the size of the array.
@param size The new capacity of the array.
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/LongArrayList.java