@Override
	public Long set(int index, Long value) {
    	if (index < 0 || index >= size) {
    		throw new IndexOutOfBoundsException();
    	}
    	Long oldValue = longs[index];
        longs[index] = value;
        return oldValue;
	}
@see java.util.List#add(int, java.lang.Object)
Ghidra/Framework/Generic/src/main/java/ghidra/util/datastruct/LongArrayList.java