public class Graph<E> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
Graph.Finder<E>
A Finder finds the immediate successors of an element of the graph.
|
Constructor and Description |
---|
Graph(Collection<E> roots,
Graph.Finder<E> finder) |
Graph(E root,
Graph.Finder<E> finder) |
public Graph(Collection<E> roots, Graph.Finder<E> finder)
public Graph(E root, Graph.Finder<E> finder)
Copyright © 2017 Oracle. All rights reserved.