diff options
| author | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-17 20:51:38 -0400 |
|---|---|---|
| committer | bculkin2442 <bjculkin@mix.wvu.edu> | 2016-04-17 20:51:38 -0400 |
| commit | bada13a2ccedd860dfd7a45683e8e8f4ba8a038d (patch) | |
| tree | 23d978588cb10ba28e42bd4a23834ec41c501452 /BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java | |
| parent | 77fcc58d1facffbc3af50be8c05985350e9f1355 (diff) | |
Added new tree traversal option, and some minor changes
Diffstat (limited to 'BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java')
| -rw-r--r-- | BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java b/BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java new file mode 100644 index 0000000..9aec2b9 --- /dev/null +++ b/BJC-Utils2/src/main/java/bjc/utils/funcdata/TopDownTransformResult.java @@ -0,0 +1,22 @@ +package bjc.utils.funcdata; + +/** + * Represents the results for doing a top-down transform of a tree + * + * @author ben + * + */ +public enum TopDownTransformResult { + /** + * Do not do anything to this node, and ignore it's children + */ + SKIP, + /** + * Transform this node, and don't touch its children + */ + TRANSFORM, + /** + * Ignore this node, and traverse its children + */ + PASSTHROUGH; +} |
