Class CloneUtils


  • public final class CloneUtils
    extends Object
    Utility class for object cloning.
    • Method Detail

      • kryoClone

        public static <E> E kryoClone​(E object)
        Clones the provided object by using Kryo.
        Type Parameters:
        E - the type of the object to clone.
        Parameters:
        object - the object to clone.
        Returns:
        a clone of the given object.