Java Array Copy copyArray2(Object v, int len)

Here you can find the source of copyArray2(Object v, int len)

Description

copy Array

License

Open Source License

Declaration

static <T> T[] copyArray2(Object v, int len) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.Arrays;

public class Main {
    static <T> T[] copyArray2(Object v, int len) {
        return Arrays.copyOf((T[]) v, len);
    }// w w w  . ja v  a 2 s  .co  m
}

Related

  1. copyArray(Object[] from, Object[] to)
  2. copyArray(String[] array)
  3. copyArray(String[] originalArray)
  4. copyArray(T[] array)
  5. copyArray(T[] original)
  6. copyArrayAddFirst(String[] arr, String add)
  7. copyArrayCutFirst(String[] arr)
  8. copyArrayExceptLast(String[] array)
  9. copyArrayMax(int[] local, int[] merged)