public class UndirectedGraph<E extends Comparable<E>> extends DirectedGraph<E>
DirectedGraph.Node<E extends Comparable<E>>nodes| Constructor and Description |
|---|
UndirectedGraph() |
| Modifier and Type | Method and Description |
|---|---|
DirectedGraph.Node<E> |
getOrMake(E label)
Returns a node or creates it
|
public DirectedGraph.Node<E> getOrMake(E label)
getOrMake in class DirectedGraph<E extends Comparable<E>>Copyright © 2018. All rights reserved.