E - the type of entities in the nodepublic abstract class DefaultNode<E extends OWLObject> extends Object implements Node<E>
| Constructor and Description |
|---|
DefaultNode(E entity) |
DefaultNode(Set<E> entities) |
| Modifier and Type | Method and 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, spliteratorpublic void add(E entity)
entity - entity to be addedpublic boolean isBottomNode()
isBottomNode in interface Node<E extends OWLObject>@Nonnull public Set<E> getEntities()
getEntities in interface Node<E extends OWLObject>public boolean contains(E entity)
@Nonnull public Set<E> getEntitiesMinus(E e)
getEntitiesMinus in interface Node<E extends OWLObject>@Nonnull public Set<E> getEntitiesMinusTop()
getEntitiesMinusTop in interface Node<E extends OWLObject>@Nonnull public Set<E> getEntitiesMinusBottom()
getEntitiesMinusBottom in interface Node<E extends OWLObject>public boolean isSingleton()
isSingleton in interface Node<E extends OWLObject>@Nonnull public E getRepresentativeElement()
getRepresentativeElement in interface Node<E extends OWLObject>Copyright © 2020 The University of Manchester. All rights reserved.