Package org.infinispan.commons.util
Class ObjectDuplicator
- java.lang.Object
-
- org.infinispan.commons.util.ObjectDuplicator
-
public class ObjectDuplicator extends Object
A helper that efficiently duplicates known object types.- Since:
- 4.0
- Author:
- (various)
-
-
Constructor Summary
Constructors Constructor Description ObjectDuplicator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E> Collection<E>
duplicateCollection(Collection<E> original)
static <K,V>
Map<K,V>duplicateMap(Map<K,V> original)
static <E> Set<E>
duplicateSet(Set<E> original)
-
-
-
Method Detail
-
duplicateCollection
public static <E> Collection<E> duplicateCollection(Collection<E> original)
-
-