public interface KryoCopyable<T>
This method is used instead of the registered serializer Serializer.copy(Kryo, Object)
method.
Modifier and Type | Method and Description |
---|---|
T |
copy(Kryo kryo)
Returns a copy that has the same values as this object.
|
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)
Copyright © 2018. All rights reserved.