Package com.evolveum.midpoint.util
Class TreeNode<T>
- java.lang.Object
 - 
- com.evolveum.midpoint.util.TreeNode<T>
 
 
- 
- All Implemented Interfaces:
 DebugDumpable
- Direct Known Subclasses:
 KeyValueTreeNode
public class TreeNode<T> extends Object implements DebugDumpable
- Author:
 - mederly
 
 
- 
- 
Field Summary
- 
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING 
 - 
 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidacceptDepthFirst(TreeNodeVisitor<T> visitor)voidadd(TreeNode<T> newChild)StringdebugDump(int indent)List<T>getAllDataDepthFirst()List<TreeNode<T>>getChildren()intgetDepth()TreeNode<T>getParent()TgetUserObject()voidsetUserObject(T userObject)<N> TreeNode<N>transform(Function<T,N> transformation)- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
TreeNode
public TreeNode()
 
- 
TreeNode
public TreeNode(T o)
 
 - 
 
- 
Method Detail
- 
getUserObject
public T getUserObject()
 
- 
setUserObject
public void setUserObject(T userObject)
 
- 
debugDump
public String debugDump(int indent)
- Specified by:
 debugDumpin interfaceDebugDumpable
 
- 
acceptDepthFirst
public void acceptDepthFirst(TreeNodeVisitor<T> visitor)
 
- 
getDepth
public int getDepth()
 
 - 
 
 -