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