org.openanzo.jastor.util.graph
Class NodeMem
java.lang.Object
org.openanzo.jastor.util.graph.GraphPartBase
org.openanzo.jastor.util.graph.NodeMem
- All Implemented Interfaces:
- IGraphPart, INode
public class NodeMem
- extends GraphPartBase
- implements INode
- Author:
- Elias Torres ( eliast@us.ibm.com )
|
Constructor Summary |
NodeMem(java.lang.String name)
|
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodeMem
public NodeMem(java.lang.String name)
getIncomingEdge
public IEdge getIncomingEdge(INode n)
- Specified by:
getIncomingEdge in interface INode
hasIncomingEdge
public boolean hasIncomingEdge(INode n)
- Specified by:
hasIncomingEdge in interface INode
getOutgoingEdge
public IEdge getOutgoingEdge(INode n)
- Specified by:
getOutgoingEdge in interface INode
hasOutgoingEdge
public boolean hasOutgoingEdge(INode n)
- Specified by:
hasOutgoingEdge in interface INode
isInGraph
public boolean isInGraph()
- Specified by:
isInGraph in interface INode
isInGraph
public boolean isInGraph(IGraph graph)
- Specified by:
isInGraph in interface INode
getGraph
public IGraph getGraph()
- Specified by:
getGraph in interface INode
getIncomingEdges
public java.util.List<IEdge> getIncomingEdges()
- Specified by:
getIncomingEdges in interface INode
getOutgoingEdges
public java.util.List<IEdge> getOutgoingEdges()
- Specified by:
getOutgoingEdges in interface INode
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
removeIncomingEdge
public void removeIncomingEdge(IEdge e)
- Specified by:
removeIncomingEdge in interface INode
removeOutgoingEdge
public void removeOutgoingEdge(IEdge e)
- Specified by:
removeOutgoingEdge in interface INode
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
Copyright © 2007 Cambridge Semantics Inc.. All Rights Reserved.