public class WrappedEdge extends WrappedElement implements Edge
baseElement| Modifier | Constructor and Description |
|---|---|
protected |
WrappedEdge(Edge baseEdge) |
| 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, getProperty, getPropertyKeys, hashCode, remove, removeProperty, setProperty, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetId, getProperty, getPropertyKeys, remove, removeProperty, setPropertyprotected WrappedEdge(Edge baseEdge)
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.