public class ExternalIntegerKeyDescriptor extends java.lang.Object implements KeyDescriptor<java.lang.Integer>
CANONICAL, IDENTITY
Constructor and Description |
---|
ExternalIntegerKeyDescriptor() |
Modifier and Type | Method and Description |
---|---|
int |
getHashCode(java.lang.Integer value) |
boolean |
isEqual(java.lang.Integer val1,
java.lang.Integer val2) |
java.lang.Integer |
read(java.io.DataInput in) |
void |
save(java.io.DataOutput out,
java.lang.Integer value) |
public int getHashCode(java.lang.Integer value)
getHashCode
in interface EqualityPolicy<java.lang.Integer>
public boolean isEqual(java.lang.Integer val1, java.lang.Integer val2)
isEqual
in interface EqualityPolicy<java.lang.Integer>
public void save(java.io.DataOutput out, java.lang.Integer value) throws java.io.IOException
save
in interface DataExternalizer<java.lang.Integer>
java.io.IOException
public java.lang.Integer read(java.io.DataInput in) throws java.io.IOException
read
in interface DataExternalizer<java.lang.Integer>
java.io.IOException