org.axiondb.engine.rows
Class SimpleRow
java.lang.Object
org.axiondb.engine.rows.BaseRow
org.axiondb.engine.rows.SimpleRow
- All Implemented Interfaces:
- java.io.Serializable, Row
public class SimpleRow
- extends BaseRow
- implements java.io.Serializable
A simple implementation of Row
.
- Version:
- $Revision: 1.2 $ $Date: 2005/12/22 09:02:30 $
- See Also:
- Serialized Form
Fields inherited from class org.axiondb.engine.rows.BaseRow |
_hash |
Method Summary |
java.lang.Object |
get(int i)
Get the value of field i. |
void |
set(int i,
java.lang.Object val)
Set the value of field i to val. |
int |
size()
Return the number of fields I contain. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SimpleRow
public SimpleRow(Row that)
SimpleRow
public SimpleRow(java.lang.Object[] values)
SimpleRow
public SimpleRow(int id,
int size)
SimpleRow
public SimpleRow(int size)
get
public java.lang.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,
java.lang.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 final int size()
- Return the number of fields I contain.
- Specified by:
size
in interface Row