Class ObjectDuplicator


  • @Deprecated
    public class ObjectDuplicator
    extends Object
    Deprecated.
    Since 12, will be removed in version 15.0
    A helper that efficiently duplicates known object types.
    Author:
    (various)
    • Constructor Detail

      • ObjectDuplicator

        public ObjectDuplicator()
        Deprecated.
    • Method Detail

      • duplicateMap

        public static <K,​V> Map<K,​V> duplicateMap​(Map<K,​V> original)
        Deprecated.
      • duplicateSet

        public static <E> Set<E> duplicateSet​(Set<E> original)
        Deprecated.
      • duplicateCollection

        public static <E> Collection<E> duplicateCollection​(Collection<E> original)
        Deprecated.