org.axiondb.engine.rows

Class SimpleRow

public class SimpleRow extends BaseRow implements Serializable

A simple implementation of Row.

Version: $Revision: 1.2 $ $Date: 2005/12/22 09:02:30 $

Author: Rodney Waldhoff

Constructor Summary
SimpleRow(Row that)
SimpleRow(Object[] values)
SimpleRow(int id, int size)
SimpleRow(int size)
Method Summary
Objectget(int i)
Get the value of field i.
voidset(int i, Object val)
Set the value of field i to val.
intsize()
Return the number of fields I contain.

Constructor Detail

SimpleRow

public SimpleRow(Row that)

SimpleRow

public SimpleRow(Object[] values)

SimpleRow

public SimpleRow(int id, int size)

SimpleRow

public SimpleRow(int size)

Method Detail

get

public Object get(int i)
Get the value of field i. Note that the index is zero-based.

set

public void set(int i, Object val)
Set the value of field i to val. Note that the index is zero-based.

size

public final int size()
Return the number of fields I contain.