Package | Description |
---|---|
com.google.common.graph |
An API for representing graph (node and edge) data.
|
com.google.common.io |
This package contains utility methods and classes for working with Java I/O; for example input
streams, output streams, readers, writers, and files.
|
Modifier and Type | Method and Description |
---|---|
static <N> Traverser<N> |
Traverser.forGraph(SuccessorsFunction<N> graph)
Creates a new traverser for the given general
graph . |
static <N> Traverser<N> |
Traverser.forTree(SuccessorsFunction<N> tree)
Creates a new traverser for a directed acyclic graph that has at most one path from the start
node to any node reachable from the start node, such as a tree.
|
Modifier and Type | Method and Description |
---|---|
static Traverser<File> |
Files.fileTraverser()
Returns a
Traverser instance for the file and directory tree. |
Copyright © 2010–2017. All rights reserved.