Package com.evolveum.midpoint.prism.util
Class CloneUtil
- java.lang.Object
-
- com.evolveum.midpoint.prism.util.CloneUtil
-
public class CloneUtil extends Object
- Author:
- semancik
-
-
Constructor Summary
Constructors Constructor Description CloneUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> T
clone(T orig)
static <T> List<T>
cloneCollectionMembers(Collection<T> collection)
static <T> T
javaLangClone(T orig)
-
-
-
Method Detail
-
clone
@Contract("null -> null; !null -> !null") public static <T> T clone(T orig)
-
cloneCollectionMembers
@Contract("!null -> !null; null -> null") public static <T> List<T> cloneCollectionMembers(Collection<T> collection)
- Returns:
- List that can be freely used.
-
javaLangClone
public static <T> T javaLangClone(T orig)
-
-