Class DirectedGraphConnections.NodeConnection<N>

java.lang.Object
com.google.common.graph.DirectedGraphConnections.NodeConnection<N>
Direct Known Subclasses:
DirectedGraphConnections.NodeConnection.Pred, DirectedGraphConnections.NodeConnection.Succ
Enclosing class:
DirectedGraphConnections<N,V>

private abstract static class DirectedGraphConnections.NodeConnection<N> extends Object
A value class representing single connection between the origin node and another node.

There can be two types of connections (predecessor and successor), which is represented by the two implementations.

  • Field Details

    • node

      final N node
  • Constructor Details

    • NodeConnection

      NodeConnection(N node)