@return true if this graph has given node, otherwise false.
(N node)
| 39 | * @return {@code true} if this graph has given node, otherwise {@code false}. |
| 40 | */ |
| 41 | default boolean hasNode(N node) { |
| 42 | return getNodes().contains(node); |
| 43 | } |
| 44 |
no outgoing calls