Class ObjectDuplicator

java.lang.Object
org.infinispan.commons.util.ObjectDuplicator

@Deprecated(forRemoval=true) public class ObjectDuplicator extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
Since 12, will be removed in version 15.0
A helper that efficiently duplicates known object types.
Author:
(various)
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <E> Collection<E>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <K, V> Map<K,V>
    duplicateMap(Map<K,V> original)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static <E> Set<E>
    duplicateSet(Set<E> original)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectDuplicator

      public ObjectDuplicator()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • duplicateMap

      public static <K, V> Map<K,V> duplicateMap(Map<K,V> original)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • duplicateSet

      public static <E> Set<E> duplicateSet(Set<E> original)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • duplicateCollection

      public static <E> Collection<E> duplicateCollection(Collection<E> original)
      Deprecated, for removal: This API element is subject to removal in a future version.