Package dev.nm.misc

Interface DeepCopyable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Object deepCopy()
      The implementation returns an instance created from this by the copy constructor of the class, or just this if the instance itself is immutable.
    • Method Detail

      • deepCopy

        Object deepCopy()
        The implementation returns an instance created from this by the copy constructor of the class, or just this if the instance itself is immutable.
        Returns:
        an independent (deep) copy of the instance