public class BinaryObject extends Object implements Externalizable
Constructor and Description |
---|
BinaryObject()
Default constructor.
|
BinaryObject(byte formatCode,
byte[] data)
Constructor with data.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
byte[] |
getData()
Gets the object's binary data.
|
byte |
getFormatCode()
Gets the serialization format code.
|
int |
hashCode() |
void |
readExternal(ObjectInput in) |
void |
setData(byte[] value)
Sets the object's binary data.
|
void |
setFormatCode(byte value)
Sets the serialization format code.
|
void |
writeExternal(ObjectOutput out) |
public BinaryObject()
public BinaryObject(byte formatCode, byte[] data)
public byte getFormatCode()
public void setFormatCode(byte value)
public byte[] getData()
public void setData(byte[] value)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.