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

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

Introduction

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

Usage

From source file org.asoem.greyfish.utils.space.TwoDimTreeTraverser.java

public final class TwoDimTreeTraverser<T> extends BinaryTreeTraverser<TwoDimTree.Node<T>> {
    @Override
    public Optional<TwoDimTree.Node<T>> leftChild(final TwoDimTree.Node<T> root) {
        return root.leftChild();
    }

From source file com.wordpress.growworkinghard.riverNe3.traverser.RiverBinaryTreeTraverser.java

/**
 * @brief How retrieving right and left children from the binary tree
 *
 * @description This class implements how retrieving right and left children
 *              from the <tt>HashMap</tt> containing the binary tree. The
 *              implementation of the traverser are in the BinaryTreeTraverser