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>
Deprecated.
Use
Traverser instead. All instance methods except
for BinaryTreeTraverser.inOrderTraversal(T) have their equivalent on the result of Traverser.forTree(tree) where tree implements SuccessorsFunction , which has
a similar API as BinaryTreeTraverser.children(T) .
This class is scheduled to be removed in January 2018. |
Modifier and Type | Method and Description |
---|---|
static <T> TreeTraverser<T> |
TreeTraverser.using(Function<T,? extends Iterable<T>> nodeToChildrenFunction)
Deprecated.
Use
Traverser.forTree(com.google.common.graph.SuccessorsFunction<N>) instead. If you are using a
lambda, these methods have exactly the same signature. |
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.