Java Array Clone clone(T[] array)

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

Description

clone

License

Apache License

Declaration

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

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {

    public static <T> T[] clone(T[] array) {
        if (array == null) {
            return null;
        }/*from w ww .  java  2s. co  m*/
        return array.clone();
    }
}

Related

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