private Set<T> getEntitiesInSignature(Set<OWLAxiom> axioms) { Set<T> result = new HashSet<T>(); for (OWLAxiom ax : axioms) { result.addAll(getEntitiesInSignature(ax)); } return result; }
public Set<T> getEntitiesInSignature(Set<OWLAxiom> axioms) { Set<T> result = new HashSet<T>(); for(OWLAxiom ax : axioms) { result.addAll(getEntitiesInSignature(ax)); } return result; }
private <T extends OWLLogicalEntity> void handleChanges(Set<OWLAxiom> added, Set<OWLAxiom> removed, HierarchyInfo<T> hierarchyInfo) { Set<T> sig = hierarchyInfo.getEntitiesInSignature(added); sig.addAll(hierarchyInfo.getEntitiesInSignature(removed)); hierarchyInfo.processChanges(sig); }