nodelist to arraylist java code example
Example 1: java array to arraylist
List<Element> list = Arrays.asList(array);
Example 2: nodelist to array
//spread the nodelist into an array
[...nodelist];
List<Element> list = Arrays.asList(array);
//spread the nodelist into an array
[...nodelist];