Constructor and Description |
---|
TreeNodeImpl() |
TreeNodeImpl(boolean leaf) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(Object key,
TreeNode child) |
TreeNode |
getChild(Object key) |
Iterator<Object> |
getChildrenKeysIterator() |
int |
indexOf(Object key) |
void |
insertChild(int idx,
Object key,
TreeNode child) |
boolean |
isLeaf() |
void |
removeChild(Object key) |
public TreeNodeImpl()
public TreeNodeImpl(boolean leaf)
public void insertChild(int idx, Object key, TreeNode child)
insertChild
in interface TreeNode
public void removeChild(Object key)
removeChild
in interface TreeNode
public Iterator<Object> getChildrenKeysIterator()
getChildrenKeysIterator
in interface TreeNode
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.