| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface NodeSet<E extends OWLObject>
Author: Matthew Horridge
 The University of Manchester
 Information Management Group
 Date: 01-Aug-2009
 
Nodes.
| Method Summary | |
|---|---|
 boolean | 
containsEntity(E e)
A convenience method that determines if this NodeSet contains a specific entity. | 
 java.util.Set<E> | 
getFlattened()
A convenience method that gets all of the entities contained in the Nodes in this NodeSet. | 
 java.util.Set<Node<E>> | 
getNodes()
Gets the Nodes contained in this NodeSet | 
 boolean | 
isBottomSingleton()
Determies if this NodeSet is a singleton that only contains the bottom node (in a hierarchy). | 
 boolean | 
isEmpty()
 | 
 boolean | 
isSingleton()
Determines if this NodeSet is a singleton. | 
 boolean | 
isTopSingleton()
Determines if this NodeSet is a singleton node that only contains the top node (in a hierarchy). | 
| Methods inherited from interface java.lang.Iterable | 
|---|
iterator | 
| Method Detail | 
|---|
java.util.Set<E> getFlattened()
Nodes in this NodeSet.
Nodes in this NodeSet.boolean isEmpty()
boolean containsEntity(E e)
NodeSet contains a specific entity.
e - The entity to test for
true if this NodeSet contains a Node that contains the entity,
 e, and false if this NodeSet does not contain a Node
 that contains the entity, e.boolean isSingleton()
NodeSet is a singleton.  A NodeSet is a singleton if it contains
 only one Node.
true if this NodeSet is a singleton, otherwise false.boolean isTopSingleton()
NodeSet is a singleton node that only contains the top node (in a hierarchy).
true if this NodeSet is a singleton that contains only the top node, and
 false otherwise.Node#isTopNode()}boolean isBottomSingleton()
NodeSet is a singleton that only contains the bottom node (in a hierarchy).
true if this NodeSet is a singleton that only contains a node that is the
 bottom node, otherwise falseNode#isBottomNode()}java.util.Set<Node<E>> getNodes()
Nodes contained in this NodeSet
Nodes contained in this NodeSet.  Note that this set will be
 an unmodifiable set.
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||