|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KryoCopyable<T>
Allows implementing classes to perform their own copying. Hand written copying can be more efficient in some cases.
This method is used instead of the registered serializer Serializer.copy(Kryo, Object)
method.
Method Summary | |
---|---|
T |
copy(Kryo kryo)
Returns a copy that has the same values as this object. |
Method Detail |
---|
T copy(Kryo kryo)
Kryo.reference(Object)
must be called with the copy to ensure it can be referenced by the child objects.
Serializer.copy(Kryo, Object)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |