|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.axiondb.engine.rows.BaseRow
public abstract class BaseRow
An abstract base implementation of Row, providing equals,
hashCode and toString implementations.
| Field Summary | |
|---|---|
protected int |
_hash
Cache the hash code for the string |
| Constructor Summary | |
|---|---|
BaseRow()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object that)
Returns true iff that is a Row with the same number
of fields and each is equal to the corresponding field in me. |
int |
getIdentifier()
|
int |
hashCode()
Return a hash code for me, in keeping with the generic Object.hashCode()
contract. |
void |
setIdentifier(int id)
|
java.lang.String |
toString()
Returns a simple String representation of me, perhaps suitable for
debugging purposes. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.axiondb.Row |
|---|
get, set, size |
| Field Detail |
|---|
protected int _hash
| Constructor Detail |
|---|
public BaseRow()
| Method Detail |
|---|
public int hashCode()
Object.hashCode()
contract.
hashCode in interface RowhashCode in class java.lang.Objectpublic boolean equals(java.lang.Object that)
true iff that is a Row with the same number
of fields and each is equal to the corresponding field in me.
Adheres to the generic Object.equals(java.lang.Object) contract.
equals in interface Rowequals in class java.lang.Objectpublic java.lang.String toString()
String representation of me, perhaps suitable for
debugging purposes.
toString in class java.lang.Objectpublic int getIdentifier()
getIdentifier in interface Rowpublic void setIdentifier(int id)
setIdentifier in interface Row
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||