org.apache.commons.graph.domain.basic
Class GraphWrapper

java.lang.Object
  extended byorg.apache.commons.graph.domain.basic.GraphWrapper
Direct Known Subclasses:
DirectedGraphWrapper, WeightedGraphWrapper

public class GraphWrapper
extends java.lang.Object

Description of the Class


Field Summary
private  Graph impl
           
 
Constructor Summary
GraphWrapper()
          Constructor for the GraphWrapper object
GraphWrapper(Graph impl)
          Constructor for the GraphWrapper object
 
Method Summary
 java.util.Set getEdges()
          Gets the edges attribute of the GraphWrapper object
 java.util.Set getEdges(Vertex v)
          Gets the edges attribute of the GraphWrapper object
 java.util.Set getVertices()
          Gets the vertices attribute of the GraphWrapper object
 java.util.Set getVertices(Edge e)
          Gets the vertices attribute of the GraphWrapper object
 void setGraph(Graph impl)
          Sets the graph attribute of the GraphWrapper object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

impl

private Graph impl
Constructor Detail

GraphWrapper

public GraphWrapper(Graph impl)
Constructor for the GraphWrapper object

Parameters:
impl -

GraphWrapper

public GraphWrapper()
Constructor for the GraphWrapper object

Method Detail

setGraph

public void setGraph(Graph impl)
Sets the graph attribute of the GraphWrapper object


getVertices

public java.util.Set getVertices()
Gets the vertices attribute of the GraphWrapper object


getEdges

public java.util.Set getEdges()
Gets the edges attribute of the GraphWrapper object


getVertices

public java.util.Set getVertices(Edge e)
Gets the vertices attribute of the GraphWrapper object


getEdges

public java.util.Set getEdges(Vertex v)
Gets the edges attribute of the GraphWrapper object