Class DefaultNode<E extends OWLObject>
java.lang.Object
org.semanticweb.owlapi.reasoner.impl.DefaultNode<E>
- Type Parameters:
E
- the type of entities in the node
- Direct Known Subclasses:
OWLClassNode
,OWLDataPropertyNode
,OWLDatatypeNode
,OWLNamedIndividualNode
,OWLObjectPropertyNode
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultNode
(E entity) DefaultNode
(Collection<E> entities) DefaultNode
(Stream<E> entities) -
Method Summary
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.semanticweb.owlapi.reasoner.Node
getEntities
-
Constructor Details
-
DefaultNode
- Parameters:
entity
- the entity to add
-
DefaultNode
- Parameters:
entities
- the entities to add
-
DefaultNode
- Parameters:
entities
- the entities to add
-
-
Method Details
-
add
- Parameters:
entity
- entity to be added
-
isTopNode
public boolean isTopNode() -
isBottomNode
public boolean isBottomNode()- Specified by:
isBottomNode
in interfaceNode<E extends OWLObject>
-
entities
-
getSize
public int getSize() -
contains
-
getEntitiesMinus
- Specified by:
getEntitiesMinus
in interfaceNode<E extends OWLObject>
-
getEntitiesMinusTop
- Specified by:
getEntitiesMinusTop
in interfaceNode<E extends OWLObject>
-
getEntitiesMinusBottom
- Specified by:
getEntitiesMinusBottom
in interfaceNode<E extends OWLObject>
-
isSingleton
public boolean isSingleton()- Specified by:
isSingleton
in interfaceNode<E extends OWLObject>
-
getRepresentativeElement
- Specified by:
getRepresentativeElement
in interfaceNode<E extends OWLObject>
-
iterator
-
toString
-
equals
-
hashCode
public int hashCode()
-