- java.lang.Object
-
- inet.ipaddr.format.util.AssociativeAddedTree<E,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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AssociativeAddedTree.AssociativeAddedTreeNode<E extends Address,V>
AssociativeAddedTreeNode represents a node in an AssociativeAddedTree.
-
Constructor Summary
Constructors Constructor Description AssociativeAddedTree(AssociativeAddressTrie<E,inet.ipaddr.format.util.AssociativeAddressTrie.SubNodesMappingAssociative<E,V>> wrapped)
-
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.
-
-
-
Constructor Detail
-
AssociativeAddedTree
public AssociativeAddedTree(AssociativeAddressTrie<E,inet.ipaddr.format.util.AssociativeAddressTrie.SubNodesMappingAssociative<E,V>> wrapped)
-
-
Method Detail
-
getRoot
public AssociativeAddedTree.AssociativeAddedTreeNode<E,V> getRoot()
Returns the root of this tree, which corresponds to the root of the originating trie.
-
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 classjava.lang.Object
-
-