Class ObjectDuplicator


  • public class ObjectDuplicator
    extends Object
    A helper that efficiently duplicates known object types.
    Since:
    4.0
    Author:
    (various)
    • Constructor Detail

      • ObjectDuplicator

        public ObjectDuplicator()
    • Method Detail

      • duplicateMap

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

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

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