()
| 29 | } |
| 30 | |
| 31 | public int pop() { |
| 32 | Stack last = getLastStack(); |
| 33 | int v = last.pop(); |
| 34 | if (last.size == 0) { |
| 35 | stacks.remove(stacks.size() - 1); |
| 36 | } |
| 37 | return v; |
| 38 | } |
| 39 | |
| 40 | public int popAt(int index) { |
| 41 | return leftShift(index, true); |
no test coverage detected