|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.beasys.commerce.util.CloneHelper
@Deprecated public class CloneHelper
Helper for cloning. Allows cloning of the Object class, when you don't know the class of the target object
Constructor Summary | |
---|---|
CloneHelper()
Deprecated |
Method Summary | |
---|---|
static Belonging |
clone(Belonging that)
Deprecated Return a clone of a belonging |
static Collection |
clone(Collection collection)
Deprecated return a deep copy of a collection |
static Map |
clone(Map map)
Deprecated return a deep copy of a map |
static Object |
clone(Object that)
Deprecated Clones an object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CloneHelper()
Method Detail |
---|
public static Object clone(Object that)
that
- source object to be cloned
CloneNotSupportedException
- the target object does not support cloning
Error
- unrecoverable error during reflectionpublic static Belonging clone(Belonging that)
public static Collection clone(Collection collection)
public static Map clone(Map map)
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |