public Set<Constituent> getCanonicalEntitiesViaRelations() { HashSet<Constituent> canonicalConstituents = new HashSet<>(); for (Constituent cc : this.getConstituents()) { canonicalConstituents.add(getCanonicalEntityViaRelation(cc)); } return canonicalConstituents; }
public Set<Constituent> getCanonicalEntitiesViaRelations() { HashSet<Constituent> canonicalConstituents = new HashSet<>(); for (Constituent cc : this.getConstituents()) { canonicalConstituents.add(getCanonicalEntityViaRelation(cc)); } return canonicalConstituents; }