diva.graph.modular
Interface CompositeModel

All Known Subinterfaces:
CompositeNodeModel, MutableCompositeNodeModel

public interface CompositeModel

A graph is an object that contains nodes and edges. Edges are accessed through the nodes that they connect.


Method Summary
 int getNodeCount(java.lang.Object composite)
          Return a count of the nodes this graph contains.
 java.util.Iterator nodes(java.lang.Object composite)
          Return an iterator over the nodes that this graph contains.
 

Method Detail

nodes

public java.util.Iterator nodes(java.lang.Object composite)
Return an iterator over the nodes that this graph contains.

getNodeCount

public int getNodeCount(java.lang.Object composite)
Return a count of the nodes this graph contains.


Contact 
©2002-2018 U.C. Regents