Returns the next Block in the trace @return the next Block in the trace
()
| 305 | * @return the next Block in the trace |
| 306 | */ |
| 307 | @Override |
| 308 | @NotNull |
| 309 | public Block next() throws NoSuchElementException { |
| 310 | scan(); |
| 311 | if (currentBlock <= -1) { |
| 312 | throw new NoSuchElementException(); |
| 313 | } else { |
| 314 | return blockQueue[currentBlock--]; |
| 315 | } |
| 316 | } |
| 317 | |
| 318 | @Override |
| 319 | public void remove() { |
no test coverage detected