public class TreeTraverser<M extends Map<String,Object>,L extends List<Object>> extends Object
Maps and Lists
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 © 2017 Chemouni Uriel. All rights reserved.