class BufferTypeIdKey
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.io.Serializable |
id
Record id
|
private BufferType |
type
Buffer type
|
Constructor and Description |
---|
BufferTypeIdKey(BufferType type,
java.io.Serializable id)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Test this object for equality (equivalence) with the given object.
|
int |
hashCode()
Calculate a hash code for this object.
|
private final BufferType type
private final java.io.Serializable id
BufferTypeIdKey(BufferType type, java.io.Serializable id)
type
- Buffer type.id
- Record id.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- Object to test.true
if this object is the same instance as the given object, or it is
considered equivalent to the given object.