Interface GraphNode<N,E>
-
- Type Parameters:
N
- Value type that the graph node stores.E
- Value type that the graph edge stores.
- All Superinterfaces:
Annotatable
- All Known Subinterfaces:
DiGraph.DiGraphNode<N,E>
,UndiGraph.UndiGraphNode<N,E>
- All Known Implementing Classes:
LinkedDirectedGraph.LinkedDiGraphNode
public interface GraphNode<N,E> extends Annotatable
A generic node.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description N
getValue()
Retrieves the node's value.-
Methods inherited from interface com.google.javascript.jscomp.graph.Annotatable
getAnnotation, setAnnotation
-
-
-
-
Method Detail
-
getValue
N getValue()
Retrieves the node's value.- Returns:
- The value.
-
-