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 Detail

      • getContent

        T getContent()
      • setContent

        void setContent​(T newContent)
      • addChildren

        void addChildren​(T[] chain)
      • setChildren

        void setChildren​(java.util.Set<RadixTreeNode<T>> newChildren)
      • size

        int size()
      • toStringWithPrefix

        java.lang.String toStringWithPrefix​(java.lang.String prefix)