private class RecordBuffer.ReversibleUpdate.Key
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
index
Extent field index
|
private java.lang.String |
property
Property name
|
Constructor and Description |
---|
Key(java.lang.String property,
java.lang.Integer index)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Equality test.
|
int |
hashCode()
Generate a hash code for a given key, such that all hash codes
created are consistent with this object's implementation of the
equals method. |
java.lang.String |
toString()
Provide a string representation of this key, suitable for
debugging.
|
private final java.lang.String property
private final java.lang.Integer index
Key(java.lang.String property, java.lang.Integer index)
property
- Property name.index
- Extent field index.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Another key to compare with this instance.true
if this key equals the given key, else
false
.public int hashCode()
equals
method.hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object