Java Array Clone cloneLong(long[] array)

Here you can find the source of cloneLong(long[] array)

Description

clone Long

License

BSD License

Declaration

public static long[] cloneLong(long[] array) 

Method Source Code

//package com.java2s;
/**//w  w w .  j a va 2s  . co  m
 * This class is part of JCodec ( www.jcodec.org ) This software is distributed
 * under FreeBSD License
 * 
 * @author Jay Codec
 * 
 */

public class Main {
    public static long[] cloneLong(long[] array) {
        if (array == null) {
            return null;
        }
        return (long[]) array.clone();
    }
}

Related

  1. cloneByteArray(byte[] b)
  2. cloneBytes(byte[] buffer)
  3. cloneCharArray(char[] chars)
  4. cloneDoubleMatrix(double[][] src)
  5. cloneIntArray(int array[])
  6. cloneNonNullArray(double[] array)
  7. cloneSubarray(byte[] array, int offset, int len)
  8. cloneSubArray(byte[] data, int offset, int size)
  9. cloneTest(int[] test)