public static List<Object> array2ObjectList(final Object array) {
        final int length = Array.getLength(array);
        final List<Object> list = new ArrayList<Object>(length);
        for (int i = 0; i < length; ++i) {
            list.add(Array.get(array, i));
        }
        return list;
    }
public static List < Object > array2ObjectList ( final Object array ) { final int length = Array . getLength ( array ) ; final List < Object > list = new ArrayList < Object > ( length ) ; for ( int i = 0 ; i < length ; ++ i ) { list . add ( Array . get ( array , i ) ) ; } return list ; }
Same as Arrays.asList(...), but does automatically conversion of primitive arrays.

@param array
@return List of objects representing the given array contents