public class SerializedWrapper<T> extends Object implements Serializable
| Constructor and Description |
|---|
SerializedWrapper(byte[] serialized) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte[] |
getSerialized() |
int |
hashCode() |
T |
unwrap() |
static <T> SerializedWrapper<T> |
wrap(T object) |
public byte[] getSerialized()
public static <T> SerializedWrapper<T> wrap(T object) throws IOException
IOExceptionpublic T unwrap() throws IOException, ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2019. All rights reserved.