()
| 18 | } |
| 19 | |
| 20 | public Program pop() |
| 21 | { |
| 22 | if (this.stack.isEmpty()) |
| 23 | { |
| 24 | throw new RuntimeException("Program stack empty"); |
| 25 | } |
| 26 | else |
| 27 | { |
| 28 | Program program = (Program)this.stack.pollLast(); |
| 29 | return program; |
| 30 | } |
| 31 | } |
| 32 | } |
no test coverage detected