Method
retainAll
(Collection<?> relations)
Source from the content-addressed store, hash-verified
| 610 | } |
| 611 | |
| 612 | @Override |
| 613 | public boolean retainAll(Collection<?> relations) { |
| 614 | boolean modified = false; |
| 615 | |
| 616 | Iterator<Relation> it = iterator(); |
| 617 | while(it.hasNext()) { |
| 618 | Relation r = it.next(); |
| 619 | |
| 620 | if(!relations.contains(r)) { |
| 621 | //deleteRelation(r); |
| 622 | it.remove(); |
| 623 | modified = true; |
| 624 | } |
| 625 | } |
| 626 | |
| 627 | return modified; |
| 628 | } |
| 629 | |
| 630 | @Override |
| 631 | public Object[] toArray() { |
Callers
nothing calls this directly
Tested by
no test coverage detected