Java Array Clone clone(T[] array)

Here you can find the source of clone(T[] array)

Description

clone not supported on arrays by gwt

License

Apache License

Declaration

public static <T> T[] clone(T[] array) 

Method Source Code

//package com.java2s;
/**/*from   w  w w .  ja  va 2s .c  o  m*/
 * JSTM (http://jstm.sourceforge.net)
 * Distributed under the Apache License Version 2.0
 * Copyright ? 2006-2007 Cyprien Noel
 */

public class Main {
    /**
     * clone not supported on arrays by gwt
     */
    public static <T> T[] clone(T[] array) {
        return array.clone();
    }
}

Related

  1. clone(Object[] source)
  2. clone(Object[] src, Object[] trg)
  3. clone(String[] array)
  4. clone(T[] array)
  5. clone(T[] array)
  6. clone2DArray(double[][] a)
  7. clone2DArray(Double[][] array)
  8. clone2dArray(double[][] myArray)
  9. clone2DArray(final boolean[][] array)