Class CollectionCloner<T extends java.util.Collection>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T copy​(T src, T dest, boolean shallowCopy)  
      T newInstance​(T object, boolean shallowCopy)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • copy

        public T copy​(T src,
                      T dest,
                      boolean shallowCopy)
        Specified by:
        copy in class AbstractCloner<T extends java.util.Collection>
      • newInstance

        public T newInstance​(T object,
                             boolean shallowCopy)
        Overrides:
        newInstance in class AbstractCloner<T extends java.util.Collection>