Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
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 | Class and Description |
---|---|
class |
BinaryTreeTraverser<T>
A variant of
TreeTraverser for binary trees, providing additional traversals specific to
binary trees. |
Modifier and Type | Method and Description |
---|---|
static <T> TreeTraverser<T> |
TreeTraverser.using(Function<T,? extends Iterable<T>> nodeToChildrenFunction)
Returns a tree traverser that uses the given function to navigate from a node to its children.
|
Modifier and Type | Method and Description |
---|---|
static TreeTraverser<Path> |
MoreFiles.directoryTreeTraverser()
Returns a
TreeTraverser for traversing a directory tree. |
static TreeTraverser<File> |
Files.fileTreeTraverser()
Returns a
TreeTraverser instance for File trees. |
Copyright © 2010–2017. All rights reserved.