com.gridsystems.innergrid.api
Class CloneUtils

java.lang.Object
  extended by com.gridsystems.innergrid.api.CloneUtils

public final class CloneUtils
extends java.lang.Object

Cloning utilities.

Author:
dsanchez, Xmas (Generics)

Method Summary
static
<T> T[]
cloneArray(T[] source)
          Clone array and its contents.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

cloneArray

public static <T> T[] cloneArray(T[] source)
                      throws java.lang.CloneNotSupportedException
Clone array and its contents.

Type Parameters:
T - Type of the Array to Clone.
Parameters:
source - Original Array
Returns:
Clone of source.
Throws:
java.lang.CloneNotSupportedException - if the array cannot be cloned


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.