Example usage for com.google.common.collect TreeTraverser subclass-usage

List of usage examples for com.google.common.collect TreeTraverser subclass-usage

Introduction

In this page you can find the example usage for com.google.common.collect TreeTraverser subclass-usage.

Usage

From source file com.persinity.common.collection.Tree.java

/**
 * Rooted tree.
 *
 * @author Doichin Yordanov
 */
public abstract class Tree<T> extends TreeTraverser<T> {

From source file de.rnd7.fixfilenames.FileTraverser.java

final class FileTraverser extends TreeTraverser<File> {
    @Override
    public Iterable<File> children(final File file) {
        if (file.isDirectory() && !file.getName().startsWith(".")) {
            return ImmutableList.copyOf(file.listFiles());
        } else {

From source file de.rnd7.movietools.util.FileTraverser.java

final class FileTraverser extends TreeTraverser<File> {
    @Override
    public Iterable<File> children(final File file) {
        if (file.isDirectory() && !file.getName().startsWith(".")) {
            return ImmutableList.copyOf(file.listFiles());
        } else {

From source file com.android.builder.shrinker.TypeHierarchyTraverser.java

/**
 * {@link TreeTraverser} that finds all supertypes (both superclasses and interfaces) of types.
 */
public class TypeHierarchyTraverser<T> extends TreeTraverser<T> {

    private final ShrinkerGraph<T> mGraph;

From source file com.android.build.gradle.shrinker.TypeHierarchyTraverser.java

/**
 * {@link TreeTraverser} that finds all supertypes (both superclasses and interfaces) of types.
 */
public class TypeHierarchyTraverser<T> extends TreeTraverser<T> {

    private final ShrinkerGraph<T> mGraph;

From source file com.google.devtools.build.lib.remote.TreeNodeRepository.java

/**
 * A factory and repository for {@link TreeNode} objects. Provides directory structure traversals,
 * computing and caching Merkle hashes on all objects.
 */
@ThreadSafe
public final class TreeNodeRepository extends TreeTraverser<TreeNodeRepository.TreeNode> {