(int maxSize)
| 5 | int size; |
| 6 | int index; |
| 7 | public CustomStack(int maxSize) { |
| 8 | stack = new int[maxSize]; |
| 9 | operations = new int[maxSize]; |
| 10 | capacity = maxSize; |
| 11 | size=0; |
| 12 | index = -1; |
| 13 | } |
| 14 | |
| 15 | public void push(int x) { |
| 16 | if(isFull()){ |
nothing calls this directly
no outgoing calls
no test coverage detected