org.siebengeisslein.client
Class CloneHelper

java.lang.Object
  extended by org.siebengeisslein.client.CloneHelper

public class CloneHelper
extends java.lang.Object


Constructor Summary
CloneHelper()
           
 
Method Summary
<T> java.util.List<T>
clone(java.util.List<T> list)
           
<T,U> java.util.Map<T,U>
clone(java.util.Map<T,U> map)
           
<T extends CloneAware>
T
clone(T p)
           
 java.util.Set<Ref> getClonedRefs()
           
<T extends CloneAware>
void
registerCloned(T oldObject, T clone)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CloneHelper

public CloneHelper()
Method Detail

clone

public <T extends CloneAware> T clone(T p)
                           throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

clone

public <T> java.util.List<T> clone(java.util.List<T> list)
                        throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

registerCloned

public <T extends CloneAware> void registerCloned(T oldObject,
                                                  T clone)

clone

public <T,U> java.util.Map<T,U> clone(java.util.Map<T,U> map)
                         throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

getClonedRefs

public java.util.Set<Ref> getClonedRefs()