org.infinispan.util
Class ObjectDuplicator
java.lang.Object
org.infinispan.util.ObjectDuplicator
public class ObjectDuplicator
- extends Object
A helper that efficiently duplicates known object types.
- Since:
- 4.0
- Author:
- (various)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectDuplicator
public ObjectDuplicator()
duplicateMap
public static <K,V> Map<K,V> duplicateMap(Map<K,V> original)
duplicateSet
public static <E> Set<E> duplicateSet(Set<E> original)
duplicateReversibleOrderedSet
public static <E> ReversibleOrderedSet<E> duplicateReversibleOrderedSet(ReversibleOrderedSet<E> original)
duplicateCollection
public static <E> Collection<E> duplicateCollection(Collection<E> original)
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.