com.tonbeller.jpivot.util
Interface TreeNodeCallback
public interface TreeNodeCallback
handle call back for position tree
CONTINUE
static final int CONTINUE
- See Also:
- Constant Field Values
CONTINUE_SIBLING
static final int CONTINUE_SIBLING
- See Also:
- Constant Field Values
CONTINUE_PARENT
static final int CONTINUE_PARENT
- See Also:
- Constant Field Values
BREAK
static final int BREAK
- See Also:
- Constant Field Values
handleTreeNode
int handleTreeNode(TreeNode node)
- Parameters:
node
- the current node to handle
- Returns:
- 0 continue tree walk
1 break this node (continue sibling)
2 break this level (continue parent level)
3 break tree walk