public interface Edge extends Tuple
Modifier and Type | Method and Description |
---|---|
Node |
getAdjacentNode(Node n)
Given a Node upon which this Edge is incident, the opposite incident
Node is returned.
|
Graph |
getGraph()
Returns the graph of which this Edge is a member.
|
Node |
getSourceNode()
Returns the first, or source, node upon which this Edge
is incident.
|
Node |
getTargetNode()
Returns the second, or target, node upon which this Edge
is incident.
|
boolean |
isDirected()
Indicates if this edge is directed or undirected.
|
canGet, canGetBoolean, canGetDate, canGetDouble, canGetFloat, canGetInt, canGetLong, canGetString, canSet, canSetBoolean, canSetDate, canSetDouble, canSetFloat, canSetInt, canSetLong, canSetString, get, get, getBoolean, getBoolean, getColumnCount, getColumnIndex, getColumnName, getColumnType, getColumnType, getDate, getDate, getDefault, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getRow, getSchema, getString, getString, getTable, isValid, revertToDefault, set, set, setBoolean, setBoolean, setDate, setDate, setDouble, setDouble, setFloat, setFloat, setInt, setInt, setLong, setLong, setString, setString
Graph getGraph()
boolean isDirected()
Node getSourceNode()
Node getTargetNode()
Copyright ? 2013 Regents of the University of California