setToAllChildren

For each child ArrayList contained in this ArrayList, replaces the elements of the child ArrayList with the elements of the corresponding Collection from the provided List. The child ArrayList and Collection are associated by index. If a given child ArrayList contained in this ArrayList has no corresponding Collection in the provided List, the child ArrayList will be cleared. If the size of this ArrayList is smaller than the size of the provided List, an appropriate number of empty child ArrayLists will first be added to this ArrayList.