public class PartitionEdge extends PartitionElement implements Edge
baseElement, graph| Modifier | Constructor and Description |
|---|---|
protected |
PartitionEdge(Edge baseEdge,
PartitionGraph graph) |
| Modifier and Type | Method and Description |
|---|---|
Edge |
getBaseEdge() |
String |
getLabel()
Return the label associated with the edge.
|
Vertex |
getVertex(Direction direction)
Return the tail/out or head/in vertex.
|
equals, getBaseElement, getId, getPartition, getProperty, getPropertyKeys, hashCode, remove, removeProperty, setPartition, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getProperty, getPropertyKeys, remove, removeProperty, setPropertyprotected PartitionEdge(Edge baseEdge, PartitionGraph graph)
public Vertex getVertex(Direction direction) throws IllegalArgumentException
EdgegetVertex in interface Edgedirection - whether to return the tail/out or head/in vertexIllegalArgumentException - is thrown if a direction of both is providedpublic String getLabel()
Edgepublic Edge getBaseEdge()
Copyright © 2010-2014. All Rights Reserved.