org.openanzo.jastor.util.graph
Class EdgeMem

java.lang.Object
  extended by org.openanzo.jastor.util.graph.GraphPartBase
      extended by org.openanzo.jastor.util.graph.EdgeMem
All Implemented Interfaces:
IEdge, IGraphPart

public class EdgeMem
extends GraphPartBase
implements IEdge

Author:
Elias Torres ( eliast@us.ibm.com )

Nested Class Summary
 class EdgeMem.EdgeComparator
           
 
Constructor Summary
EdgeMem(java.lang.String name, INode source, INode dest)
           
 
Method Summary
 INode getDestination()
           
 INode getSource()
           
 boolean isInGraph()
           
 boolean isInGraph(IGraph graph)
           
 java.lang.String toString()
           
 
Methods inherited from class org.openanzo.jastor.util.graph.GraphPartBase
getData, getName, setData
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.openanzo.jastor.util.graph.IGraphPart
getData, getName, setData
 

Constructor Detail

EdgeMem

public EdgeMem(java.lang.String name,
               INode source,
               INode dest)
Method Detail

isInGraph

public boolean isInGraph()
Specified by:
isInGraph in interface IEdge

isInGraph

public boolean isInGraph(IGraph graph)
Specified by:
isInGraph in interface IEdge

getSource

public INode getSource()
Specified by:
getSource in interface IEdge

getDestination

public INode getDestination()
Specified by:
getDestination in interface IEdge

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.