(int stackNum)
| 80 | |
| 81 | /* Expand stack by shifting over other stacks */ |
| 82 | public static void expand(int stackNum) { |
| 83 | shift((stackNum + 1) % number_of_stacks); |
| 84 | stacks[stackNum].capacity++; |
| 85 | } |
| 86 | |
| 87 | static void push(int stackNum, int value) throws Exception { |
| 88 | StackData stack = stacks[stackNum]; |