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