org.axiondb.engine.rows
Class SimpleRow
java.lang.Object
org.axiondb.engine.rows.BaseRow
org.axiondb.engine.rows.SimpleRow
- All Implemented Interfaces:
- Serializable, Row
public class SimpleRow
- extends BaseRow
- implements Serializable
A simple implementation of Row
.
- Version:
- $Revision: 1.1 $ $Date: 2004/08/07 10:14:40 $
- See Also:
- Serialized Form
Method Summary |
Object |
get(int i)
Get the value of field i. |
void |
set(int i,
Object val)
Set the value of field i to
val. |
int |
size()
Return the number of fields I contain. |
SimpleRow
public SimpleRow(Row that)
SimpleRow
public SimpleRow(Object[] values)
SimpleRow
public SimpleRow(int id,
int size)
SimpleRow
public SimpleRow(int size)
get
public Object get(int i)
- Get the value of field i.
Note that the index is zero-based.
- Specified by:
get
in interface Row
set
public void set(int i,
Object val)
- Set the value of field i to
val.
Note that the index is zero-based.
- Specified by:
set
in interface Row
size
public int size()
- Return the number of fields I contain.
- Specified by:
size
in interface Row