Vertex
Fundamental building block for graph structures.
API
Vertex.java
interface Vertex<T> {
T value()
int incomingCount()
int outgoingCount()
Stream<Edge<T>> streamIncoming()
Stream<Edge<T>> streamOutgoing()
T getValue() (1)
int getIncomingCount() (2)
int getOutgoingCount() (3)
}
1 | getValue()
|
||
2 | getIncomingCount()
|
||
3 | getOutgoingCount()
|