(String[] args)
| 71 | |
| 72 | |
| 73 | public static void main(String[] args) { |
| 74 | Box[] boxes = { new Box(3, 4, 1), new Box(8, 6, 2), new Box(7, 8, 3)}; |
| 75 | |
| 76 | ArrayList<Box> stack = createStackDP(boxes, null, new HashMap<Box, ArrayList<Box>>()); |
| 77 | //ArrayList<Box> stack = createStackR(boxes, null); |
| 78 | for (int i = stack.size() - 1; i >= 0; i--) { |
| 79 | Box b = stack.get(i); |
| 80 | System.out.println(b.toString()); |
| 81 | } |
| 82 | } |
| 83 | |
| 84 | } |
nothing calls this directly
no test coverage detected