Module inet.ipaddr

Class AssociativeAddedTree<E extends Address,​V>


  • public class AssociativeAddedTree<E extends Address,​V>
    extends java.lang.Object
    AssociativeAddedTree is similar to AddedTree but originates from an AssociativeTrie. The nodes of this tree have the same values as the corresponding nodes in the original trie.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AssociativeAddedTree.AssociativeAddedTreeNode<E,​V> getRoot()
      Returns the root of this tree, which corresponds to the root of the originating trie.
      java.lang.String toString()
      Returns a string representation of the tree, which is the same as the string obtained from the AddedNodesTreeString method of the originating trie.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • AssociativeAddedTree

        public AssociativeAddedTree​(AssociativeAddressTrie<E,​inet.ipaddr.format.util.AssociativeAddressTrie.SubNodesMappingAssociative<E,​V>> wrapped)
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a string representation of the tree, which is the same as the string obtained from the AddedNodesTreeString method of the originating trie.
        Overrides:
        toString in class java.lang.Object