Interface DeepCloner.Cloner<V>

  • Type Parameters:
    V - Object class
    Enclosing class:
    DeepCloner
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface DeepCloner.Cloner<V>
    Function that clones properties from original object to a target object and returns the cloned object (usually the same as the target).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      V clone​(V original, V target)
      Function that clones properties from original object to a target object and returns the cloned object (usually the same as the target).
    • Method Detail

      • clone

        V clone​(V original,
                V target)
        Function that clones properties from original object to a target object and returns the cloned object (usually the same as the target).