E - the type of entities in the nodepublic abstract class DefaultNode<E extends OWLObject> extends Object implements Node<E>
| Constructor and Description |
|---|
DefaultNode(Collection<E> entities) |
DefaultNode(E entity) |
DefaultNode(java.util.stream.Stream<E> entities) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(E entity) |
boolean |
contains(E entity) |
java.util.stream.Stream<E> |
entities() |
boolean |
equals(Object obj) |
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() |
getEntitiesforEach, spliteratorpublic DefaultNode(E entity)
entity - the entity to addpublic DefaultNode(Collection<E> entities)
entities - the entities to addpublic DefaultNode(java.util.stream.Stream<E> entities)
entities - the entities to addpublic void add(E entity)
entity - entity to be addedpublic boolean isBottomNode()
isBottomNode in interface Node<E extends OWLObject>public java.util.stream.Stream<E> entities()
public boolean contains(E entity)
public Set<E> getEntitiesMinus(E e)
getEntitiesMinus in interface Node<E extends OWLObject>public Set<E> getEntitiesMinusTop()
getEntitiesMinusTop in interface Node<E extends OWLObject>public Set<E> getEntitiesMinusBottom()
getEntitiesMinusBottom in interface Node<E extends OWLObject>public boolean isSingleton()
isSingleton in interface Node<E extends OWLObject>public E getRepresentativeElement()
getRepresentativeElement in interface Node<E extends OWLObject>Copyright © 2017 The University of Manchester. All Rights Reserved.