G - The type of the graph of which we are a subgraph.E - The type of edges of the graph of which we are a subgraph.N - The type of nodes of the graph of which we are a subgraph.public class SubEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>> extends Extensible implements IEdge<SubGraph<G,E,N>,SubEdge<G,E,N>,SubNode<G,E,N>>
SubGraph for more details.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
SubGraph<G,E,N> |
getGraph()
Retrieves the graph this edge is part of.
|
E |
getOriginalEdge()
Get the edge of the original graph that this edge represents.
|
SubNode<G,E,N> |
getSource()
Retrieves the source node of this directed edge.
|
SubNode<G,E,N> |
getTarget()
Retrieves the target node of this directed edge.
|
int |
hashCode() |
java.lang.String |
toString() |
copyExtensions, getCopyExtensions, getExtension, getExtensions, getExtensionsWithoutProperty, getExtensionsWithProperty, getWriteToFileExtensions, hasExtension, putExtension, putExtension, removeExtensionclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, putExtension, removeExtensionpublic E getOriginalEdge()
public SubGraph<G,E,N> getGraph()
IEdgegetGraph in interface IEdge<SubGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubNode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>>public SubNode<G,E,N> getSource()
IEdgegetSource in interface IEdge<SubGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubNode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>>public SubNode<G,E,N> getTarget()
IEdgegetTarget in interface IEdge<SubGraph<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubEdge<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>,SubNode<G extends IGraph<G,E,N>,E extends IEdge<G,E,N>,N extends INode<G,E,N>>>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object