boon/src/main/java/org/boon/collections/DoubleList.java
@Override
    public Double set(int index, Double element) {
        double oldValue = values[index];
        values[index] = element;
        return oldValue;
    }
@Override
    public Double set(int index, Double element) {
        double oldValue = values[index];
        values[index] = element;
        return oldValue;
    }
Set a value in the list.

@param index   index
@param element new value
@return old value at this index