public interface TraversableGraph<T>
AbstractBottomUpTraversal
to traverse a graph.Modifier and Type | Method and Description |
---|---|
Iterable<T> |
getIncomingNodesFor(T sink) |
Iterable<T> |
getNodes() |
Iterable<T> |
getNodesWithNoIncomingEdges() |
Iterable<T> |
getNodesWithNoOutgoingEdges() |
Iterable<T> |
getOutgoingNodesFor(T source) |
Iterable<T> getNodesWithNoIncomingEdges()
Iterable
that the caller is not allowed to mutate.Iterable<T> getNodesWithNoOutgoingEdges()
Iterable
that the caller is not allowed to mutate.Iterable<T> getIncomingNodesFor(T sink)
Iterable
that the caller is not allowed to mutate.Iterable<T> getOutgoingNodesFor(T source)
Iterable
that the caller is not allowed to mutate.