public class SerializableObjectWrapper extends Object implements Externalizable
Constructor and Description |
---|
SerializableObjectWrapper()
The empty constructor is required by
Externalizable . |
SerializableObjectWrapper(Serializable serializable) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object object) |
int |
hashCode() |
void |
readExternal(ObjectInput objectInput) |
static <T> T |
unwrap(Object object) |
void |
writeExternal(ObjectOutput objectOutput) |
public SerializableObjectWrapper()
Externalizable
. Do not use
this for any other purpose.public SerializableObjectWrapper(Serializable serializable)
public static <T> T unwrap(Object object)
public void readExternal(ObjectInput objectInput) throws IOException
readExternal
in interface Externalizable
IOException
public void writeExternal(ObjectOutput objectOutput) throws IOException
writeExternal
in interface Externalizable
IOException