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(s) to any node reachable from the start node(s), and has no paths from any start node to
any other start node, such as a tree or forest.
|
Modifier and Type | Method and Description |
---|---|
static Traverser<File> |
Files.fileTraverser()
Returns a
Traverser instance for the file and directory tree. |
static Traverser<Path> |
MoreFiles.fileTraverser()
Returns a
Traverser instance for the file and directory tree. |
Copyright © 2010–2018. All rights reserved.