boon/src/main/java/org/boon/collections/FloatList.java
public float idx(int index, float element) {
        float oldValue = values[index];
        values[index] = element;
        return oldValue;
    }
public float idx(int index, float element) {
        float oldValue = values[index];
        values[index] = element;
        return oldValue;
    }
public float idx ( int index , float element ) { float 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
Set a value in the list .