class H2PlainRowPair extends H2Row {
    /** */
    private Value v1;

    /** */
    private Value v2;

    /**
     * @param v1 First value.
     * @param v2 Second value.
     */
    public H2PlainRowPair(Value v1, Value v2) {
        this.v1 = v1;
        this.v2 = v2;
    }

    /** {@inheritDoc} */
    @Override public int getColumnCount() {
        return 2;
    }

    /** {@inheritDoc} */
    @Override public Value getValue(int idx) {
        return idx == 0 ? v1 : v2;
    }

    /** {@inheritDoc} */
    @Override public void setValue(int idx, Value v) {<FILL_FUNCTION_BODY>}

    /** {@inheritDoc} */
    @Override public boolean indexSearchRow() {
        return true;
    }

    /** {@inheritDoc} */
    @Override public String toString() {
        return S.toString(H2PlainRowPair.class, this);
    }
}

        if (idx == 0)
            v1 = v;
        else {
            assert idx == 1 : idx;

            v2 = v;
        }
    
<methods>public non-sealed void <init>() ,public void commit() ,public long expireTime() ,public int getByteCount(Data) ,public Row getCopy() ,public long getKey() ,public int getMemory() ,public int getSessionId() ,public Value[] getValueList() ,public int getVersion() ,public abstract boolean indexSearchRow() ,public boolean isDeleted() ,public boolean isEmpty() ,public void setDeleted(boolean) ,public void setKey(long) ,public void setKeyAndVersion(SearchRow) ,public void setSessionId(int) ,public void setVersion(int) <variables>