public class ByteId extends SingleFieldId<Byte>
hashCode, STRING_DELIMITER, targetClassName| Constructor and Description |
|---|
ByteId() |
ByteId(Class pcClass,
byte key) |
ByteId(Class pcClass,
Byte key) |
ByteId(Class pcClass,
String str) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object o) |
byte |
getKey() |
Byte |
getKeyAsObject() |
protected boolean |
keyEquals(SingleFieldId obj) |
void |
readExternal(ObjectInput in)
Read this object.
|
String |
toString()
Return the String version of the key.
|
void |
writeExternal(ObjectOutput out)
Write this object.
|
assertKeyNotNull, compare, equals, getTargetClassName, hashCodepublic ByteId(Class pcClass, byte key)
public ByteId()
public byte getKey()
public Byte getKeyAsObject()
getKeyAsObject in class SingleFieldId<Byte>public String toString()
protected boolean keyEquals(SingleFieldId obj)
keyEquals in class SingleFieldId<Byte>public int compareTo(Object o)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class SingleFieldId<Byte>out - the outputIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class SingleFieldId<Byte>in - the inputIOExceptionClassNotFoundExceptionCopyright © 2019. All rights reserved.