public interface EdgeColorVertex<E extends EdgeColorData> extends EdgeDataVertex<E>
Modifier and Type | Method and Description |
---|---|
Color |
getEdgeColor(EdgeColorVertex<E> to)
Retrieve the color of the edge whose head is the given vertex
|
void |
setEdgeColor(EdgeColorVertex<E> to,
Color color)
Set the color of the edge whose head is the given vertex.
|
getEdgeData
addAdjacency, adjacencyCount, clearAdjacencies, containsAdjacency, getAdjacencies, getGraph, hasAdjacencies, removeAdjacency, setGraph
void setEdgeColor(EdgeColorVertex<E> to, Color color)
to
- head of the edge whose color is to be setcolor
- value to which to set the edge's colorColor getEdgeColor(EdgeColorVertex<E> to)
to
- head of the edge whose color is to be retrieved