public final class ArrayX extends Object
| Constructor and Description |
|---|
ArrayX() |
public static final <T> T[] toArray(Class<T> componentType, ArrayList<T> arrayList)
T - Type in container.componentType - Class type, i.e. if ArrayList String is converted
then componentType = String.classarrayList - ArrayList of T to be converted to T[]public static final <T> T[] toArray(Class<T> componentType, Stack<T> stack)
T - Type in container.componentType - Class type, i.e. if ArrayList String is converted
then componentType = String.classstack - Stack of T0 to be converted to T[]Copyright © 2017. All rights reserved.