Vertex

Fundamental building block for graph structures.

API

Vertex.java
interface Vertex<T> {
  T getValue()
  int getIncomingCount()
  int getOutgoingCount()
  Stream<Edge<T>> streamIncoming()
  Stream<Edge<T>> streamOutgoing()
}