de.schwarzrot.util
Class TreeNode<E>
java.lang.Object
de.schwarzrot.util.TreeNode<E>
public class TreeNode<E>
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PATH_SEPARATOR
public static final String PATH_SEPARATOR
- See Also:
- Constant Field Values
TreeNode
public TreeNode(String name)
TreeNode
public TreeNode(String name,
E value)
TreeNode
public TreeNode(TreeNode<E> parent,
String name,
E value)
containsChild
public final boolean containsChild(String name)
getChildNode
public TreeNode<E> getChildNode(String name)
getChildNodes
public Collection<TreeNode<E>> getChildNodes()
getChildren
public Collection<String> getChildren()
getName
public final String getName()
getParent
public final String getParent()
getParentNode
public final TreeNode<E> getParentNode()
getPath
public String getPath()
getValue
public final E getValue()
hasChildren
public final boolean hasChildren()
putChildNode
public void putChildNode(TreeNode<E> child)
setParent
public void setParent(TreeNode<E> parent)
setValue
public final void setValue(E value)
putValueByPath
public static <E> TreeNode<E> putValueByPath(TreeNode<E> root,
String path,
E value)
Submit
a bug or request a feature
SRJRCFrames is published according to the
GNU General Public License
Copyright 2005-2012
Reinhard Mantey - some rights reserved.