Class MarshalledObject<S extends Serializable>
java.lang.Object
org.exoplatform.commons.serialization.MarshalledObject<S>
A simple marshalled object that retain the state of an object as a bytes.
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static <S extends Serializable>
MarshalledObject<S> marshall(S serializable)
-
Method Details
-
marshall
public static <S extends Serializable> MarshalledObject<S> marshall(S serializable) throws NullPointerException - Throws:
NullPointerException
-
equals
-
hashCode
public int hashCode() -
unmarshall
- Throws:
UndeclaredThrowableException
-