public class TreeTraverser<M extends Map<String,Object>,L extends List<Object>> extends Object
Map
s and List
s
TreeTraverser
accepts an action and provides callback hooks for it to act
on the traversed nodes at each significant step. See TreeTraverseAction
.
See package-info for more details
Modifier and Type | Field and Description |
---|---|
protected TreeTraverseAction<M,L> |
action |
protected PathDelimiter |
delim |
protected String |
pathPrefix |
Constructor and Description |
---|
TreeTraverser(TreeTraverseAction action,
PathDelimiter delim) |
protected PathDelimiter delim
protected String pathPrefix
public TreeTraverser(TreeTraverseAction action, PathDelimiter delim)
public TreeTraverser with(String pathPrefix)
public void traverse(M map)
Copyright © 2020 Chemouni Uriel. All rights reserved.