()
| 564 | } |
| 565 | |
| 566 | private Relation nextMatch() { |
| 567 | Relation oldMatch = nextElement; |
| 568 | |
| 569 | while(iterator.hasNext()) { |
| 570 | Relation o = iterator.next(); |
| 571 | |
| 572 | if(indexById.containsValue(o)) { |
| 573 | hasNext = true; |
| 574 | nextElement = o; |
| 575 | |
| 576 | return oldMatch; |
| 577 | } |
| 578 | } |
| 579 | |
| 580 | hasNext = false; |
| 581 | |
| 582 | return oldMatch; |
| 583 | } |
| 584 | |
| 585 | @Override |
| 586 | public void remove() { |
no test coverage detected