Package org.opennms.core.collections
Interface RadixTreeNode<T>
-
- Type Parameters:
T- The content type of each node
- All Known Subinterfaces:
RadixTree<T>
- All Known Implementing Classes:
RadixTreeImpl,RadixTreeNodeImpl
public interface RadixTreeNode<T>This interface describes a node of a radix tree. The node has content and children that represent subsequently occurring content in the tree.- Author:
- Seth
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddChildren(T[] chain)Set<RadixTreeNode<T>>getChildren()TgetContent()voidsetChildren(Set<RadixTreeNode<T>> newChildren)voidsetContent(T newContent)intsize()StringtoStringWithPrefix(String prefix)
-
-
-
Method Detail
-
getContent
T getContent()
-
setContent
void setContent(T newContent)
-
addChildren
void addChildren(T[] chain)
-
getChildren
Set<RadixTreeNode<T>> getChildren()
-
setChildren
void setChildren(Set<RadixTreeNode<T>> newChildren)
-
size
int size()
-
-