int[][] (List<? extends RadComponent> selection) { int[][] selectionState = new int[selection.size()][]; for (int i = 0; i < selectionState.length; i++) { IntList path = new IntArrayList(); componentToPath(selection.get(i), path); selectionState[i] = path.toIntArray(); } return selectionState; }