MCPcopy Create free account
hub / github.com/GateNLP/gate-core / removeAll

Method removeAll

src/main/java/gate/relations/RelationSet.java:599–610  ·  view source on GitHub ↗
(Collection<?> relations)

Source from the content-addressed store, hash-verified

597 }
598
599 @Override
600 public boolean removeAll(Collection<?> relations) {
601 boolean modified = false;
602
603 for(Object r : relations) {
604 if(r instanceof Relation) {
605 modified |= deleteRelation((Relation)r);
606 }
607 }
608
609 return modified;
610 }
611
612 @Override
613 public boolean retainAll(Collection<?> relations) {

Callers

nothing calls this directly

Calls 1

deleteRelationMethod · 0.95

Tested by

no test coverage detected