@Override public Stream<OWLClassExpression> nestedClassExpressions() { return accept(new OWLClassExpressionCollector()).stream(); }
@Override public Stream<OWLClassExpression> nestedClassExpressions() { return accept(new OWLClassExpressionCollector()).stream(); }
@Override public Stream<OWLClassExpression> nestedClassExpressions() { return accept(new OWLClassExpressionCollector()).stream(); }
@Override public Set<OWLClassExpression> getNestedClassExpressions() { OWLClassExpressionCollector collector = new OWLClassExpressionCollector(); return this.accept(collector); }
@Override public Stream<OWLClassExpression> nestedClassExpressions() { return accept(new OWLClassExpressionCollector()).stream(); }
public Set<OWLEntity> getSignature() { if (signature == null) { Set<OWLEntity> sig = new HashSet<OWLEntity>(); OWLEntityCollector collector = new OWLEntityCollector(); accept(collector); sig.addAll(collector.getObjects()); signature = new HashSet<OWLEntity>(sig); } return Collections.unmodifiableSet(signature); }
@Override public Set<OWLEntity> getSignature() { Set<OWLEntity> set = new HashSet<OWLEntity>(); Set<OWLAnonymousIndividual> anon = new HashSet<OWLAnonymousIndividual>(); OWLEntityCollectionContainerCollector collector = new OWLEntityCollectionContainerCollector(set, anon); accept(collector); return CollectionFactory.getCopyOnRequestSetFromImmutableCollection(set); }
@Override public Set<OWLAnonymousIndividual> getAnonymousIndividuals() { Set<OWLEntity> set = new HashSet<OWLEntity>(); Set<OWLAnonymousIndividual> anons = new HashSet<OWLAnonymousIndividual>(); OWLEntityCollectionContainerCollector collector = new OWLEntityCollectionContainerCollector(set, anons); accept(collector); return CollectionFactory.getCopyOnRequestSetFromImmutableCollection(anons); }