class Row extends SimpleRow {

    public static final int MEMORY_CALCULATE = -1;

    private ITransactionalValue tv;
    private IPage page;

    public Row(Value[] data, int memory) {
        super(data);
        this.memory = memory;
    }

    public Value[] getValueList() {
        return data;
    }

    public ITransactionalValue getTValue() {
        return tv;
    }

    public void setTValue(ITransactionalValue tv) {
        this.tv = tv;
    }

    @Override
    public Value getValue(int i) {
        return i == -1 ? ValueLong.get(key) : data[i];
    }

    @Override
    public void setValue(int i, Value v) {<FILL_FUNCTION_BODY>}

    public IPage getPage() {
        return page;
    }

    public void setPage(IPage page) {
        this.page = page;
    }
}

        if (i == -1) {
            key = v.getLong();
        } else {
            data[i] = v;
        }
    
<methods>public void <init>(com.lealone.db.value.Value[]) ,public int getColumnCount() ,public int getMemory() ,public com.lealone.db.value.Value getValue(int) ,public void setValue(int, com.lealone.db.value.Value) ,public java.lang.String toString() <variables>protected final non-sealed com.lealone.db.value.Value[] data