Interface KryoCopyable<T>


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

    Modifier and Type
    Method
    Description
    copy(Kryo kryo)
    Returns a copy that has the same values as this object.
  • Method Details