A - The type of tree valuesB - The type of returned valuesT - The type of threaded context values@FunctionalInterface public interface JOTreeNodeMapFunctionType<A,T,B>
| Modifier and Type | Method | Description |
|---|---|---|
B |
apply(T input,
int depth,
JOTreeNodeReadableType<A> node) |
Visit a value in the tree.
|
B apply(T input, int depth, JOTreeNodeReadableType<A> node)
input - The context value passed to the traversaldepth - The depth of node relative to the starting node of the
traversalnode - The current nodeBCopyright © 2017 <code@io7m.com> http://io7m.com