Java Array Clone clone(Object[] array)

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

Description

clone

License

Open Source License

Declaration

public static Object[] clone(Object[] array) 

Method Source Code

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

public class Main {
    public static Object[] clone(Object[] array) {
        return (array != null) ? array.clone() : new Object[0];
    }/*from   w  ww  .  j  av a2  s.com*/
}

Related

  1. clone(int[] array)
  2. clone(int[] array)
  3. clone(int[] in)
  4. clone(int[] src)
  5. clone(int[] src, int[] dest)
  6. clone(Object[] array)
  7. clone(Object[] array)
  8. clone(Object[] source)
  9. clone(Object[] src, Object[] trg)