Package | Description |
---|---|
org.tinygroup.binarytree | |
org.tinygroup.binarytree.impl | |
org.tinygroup.commons.processor | |
org.tinygroup.parser.node |
Modifier and Type | Method and Description |
---|---|
void |
BinaryTree.foreach(Processor<T> process)
对每个节点执行操作
|
void |
BinaryTree.foreach(Processor<T> process,
int mode)
用指定的遍历方式对每一个节点执行操作
|
Modifier and Type | Method and Description |
---|---|
void |
BinaryTreeImpl.foreach(Processor<T> process)
默认采用中序
|
void |
BinaryTreeImpl.foreach(Processor<T> process,
int mode)
用指定的遍历方式对每个结点执行操作 mode: 0:中序遍历 -1:前序遍历 1:后序遍历
|
Modifier and Type | Method and Description |
---|---|
void |
ForEachProcessor.foreach(Processor<T> processor) |
Modifier and Type | Method and Description |
---|---|
void |
NodeImpl.foreach(Processor<T> processor) |
Copyright © 2006–2018 TinyGroup. All rights reserved.