Package | Description |
---|---|
com.mattunderscore.trees.binary |
Provides the interfaces for representing binary trees.
|
com.mattunderscore.trees.binary.search |
Modifier and Type | Class and Description |
---|---|
class |
BinaryTreeNodeImpl<E>
Binary tree node implementation.
|
Modifier and Type | Method and Description |
---|---|
BinaryTreeWrapper<E,BinaryTreeNode<E>> |
BinaryTreeNodeImpl.EmptyConstructor.build() |
BinaryTreeWrapper<E,BinaryTreeNode<E>> |
BinaryTreeNodeImpl.BinaryTreeConstructor.build(E e,
BinaryTreeWrapper<E,BinaryTreeNode<E>>[] subtrees) |
<S extends OpenNode<E,S>> |
BinaryTreeConverter.build(Tree<E,S> sourceTree) |
static <E> TypeKey<BinaryTree<E,BinaryTreeNode<E>>> |
BinaryTreeNodeImpl.typeKey() |
Modifier and Type | Class and Description |
---|---|
class |
WrappedBinaryNode<E>
Wrap a
MutableBinaryTreeNode as a BinaryTreeNode . |
Modifier and Type | Method and Description |
---|---|
BinaryTreeNode<E> |
WrappedBinaryNode.getChild(int nChild) |
BinaryTreeNode<E> |
WrappedBinaryNode.getLeft() |
BinaryTreeNode<E> |
WrappedBinaryNode.getRight() |
BinaryTreeNode<E> |
BinarySearchTree.getRoot() |
Modifier and Type | Method and Description |
---|---|
Iterator<? extends BinaryTreeNode<E>> |
WrappedBinaryNode.childIterator() |
Iterator<? extends BinaryTreeNode<E>> |
WrappedBinaryNode.childStructuralIterator() |
Copyright © 2014–2016. All rights reserved.