public class TreeParallelTransformer<T>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
DefaultTraverserContext<T> |
newRootContext(java.util.Map<java.lang.Class<?>,java.lang.Object> vars) |
static <T> TreeParallelTransformer<T> |
parallelTransformer(NodeAdapter<T> nodeAdapter) |
static <T> TreeParallelTransformer<T> |
parallelTransformer(NodeAdapter<T> nodeAdapter,
java.util.concurrent.ForkJoinPool forkJoinPool) |
TreeParallelTransformer<T> |
rootVar(java.lang.Class<?> key,
java.lang.Object value) |
TreeParallelTransformer<T> |
rootVars(java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars) |
T |
transform(T root,
TraverserVisitor<? super T> visitor) |
T |
transformImpl(T root,
TraverserVisitor<? super T> visitor) |
public static <T> TreeParallelTransformer<T> parallelTransformer(NodeAdapter<T> nodeAdapter)
public static <T> TreeParallelTransformer<T> parallelTransformer(NodeAdapter<T> nodeAdapter, java.util.concurrent.ForkJoinPool forkJoinPool)
public TreeParallelTransformer<T> rootVars(java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars)
public TreeParallelTransformer<T> rootVar(java.lang.Class<?> key, java.lang.Object value)
public T transform(T root, TraverserVisitor<? super T> visitor)
public DefaultTraverserContext<T> newRootContext(java.util.Map<java.lang.Class<?>,java.lang.Object> vars)
public T transformImpl(T root, TraverserVisitor<? super T> visitor)