E
- the type of entities in the nodeIterable<E>
, org.semanticweb.owlapi.reasoner.Node<E>
OWLClassNode
, OWLDataPropertyNode
, OWLDatatypeNode
, OWLNamedIndividualNode
, OWLObjectPropertyNode
public abstract class DefaultNode<E extends org.semanticweb.owlapi.model.OWLObject> extends Object implements org.semanticweb.owlapi.reasoner.Node<E>
Constructor | Description |
---|---|
DefaultNode(E entity) |
|
DefaultNode(Set<E> entities) |
Modifier and Type | Method | Description |
---|---|---|
void |
add(E entity) |
|
boolean |
contains(E entity) |
|
boolean |
equals(Object obj) |
|
Set<E> |
getEntities() |
|
Set<E> |
getEntitiesMinus(E e) |
|
Set<E> |
getEntitiesMinusBottom() |
|
Set<E> |
getEntitiesMinusTop() |
|
E |
getRepresentativeElement() |
|
int |
getSize() |
|
int |
hashCode() |
|
boolean |
isBottomNode() |
|
boolean |
isSingleton() |
|
boolean |
isTopNode() |
|
Iterator<E> |
iterator() |
|
String |
toString() |
forEach, spliterator
public void add(E entity)
entity
- entity to be addedpublic boolean isTopNode()
isTopNode
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
public boolean isBottomNode()
isBottomNode
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
@Nonnull public Set<E> getEntities()
getEntities
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
public int getSize()
getSize
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
public boolean contains(E entity)
contains
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
@Nonnull public Set<E> getEntitiesMinus(E e)
getEntitiesMinus
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
@Nonnull public Set<E> getEntitiesMinusTop()
getEntitiesMinusTop
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
@Nonnull public Set<E> getEntitiesMinusBottom()
getEntitiesMinusBottom
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
public boolean isSingleton()
isSingleton
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
@Nonnull public E getRepresentativeElement()
getRepresentativeElement
in interface org.semanticweb.owlapi.reasoner.Node<E extends org.semanticweb.owlapi.model.OWLObject>
Copyright © 2018 The University of Manchester. All rights reserved.