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 void
addChildren(T[] chain)
Set<RadixTreeNode<T>>
getChildren()
T
getContent()
void
setChildren(Set<RadixTreeNode<T>> newChildren)
void
setContent(T newContent)
int
size()
String
toStringWithPrefix(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()
-
-