org.apache.http.client.utils
Class CloneUtils
java.lang.Object
   org.apache.http.client.utils.CloneUtils
org.apache.http.client.utils.CloneUtils
- public class CloneUtils 
- extends Object
A collection of utilities to workaround limitations of Java clone framework.
- Since:
- 4.0
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
cloneObject
public static <T> T cloneObject(T obj)
                     throws CloneNotSupportedException
- 
- Throws:
- CloneNotSupportedException
- Since:
- 4.3
 
clone
public static Object clone(Object obj)
                    throws CloneNotSupportedException
- 
- Throws:
- CloneNotSupportedException
 
Copyright © 1999–2020 The Apache Software Foundation. All rights reserved.