|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.common.api.metadata.CopyUtil
public class CopyUtil

A CopyUtil.
| Constructor Summary | |
|---|---|
CopyUtil()
|
|
| Method Summary | ||
|---|---|---|
static
|
clone(T input)
Clone an IDDecoratedMetadata taking care of null cheks |
|
static
|
cloneList(List<T> list)
clone a list of IdDecoratedMetadata and deep into the elements |
|
static List<String> |
cloneListOfStrings(List<String> list)
clone a list of string deep into elements |
|
static String |
cloneString(String input)
clone a String |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CopyUtil()
| Method Detail |
|---|
public static <T extends CopyableMetaData> List<T> cloneList(List<T> list)
T - type extending CopyableMetaDatalist - the list to clone
public static List<String> cloneListOfStrings(List<String> list)
list - the list to clone
public static String cloneString(String input)
input - the input
public static <T extends CopyableMetaData> T clone(T input)
T - type extending CopyableMetaDatainput - type extending IdDecoratedMetadata
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||