Constructor and Description |
---|
AssociativeAddedTreeNode(AssociativeAddressTrie.AssociativeTrieNode<E,inet.ipaddr.format.util.AssociativeAddressTrie.SubNodesMappingAssociative<E,V>> node) |
Modifier and Type | Method and Description |
---|---|
E |
getKey()
getKey returns the key of this node, which is the same as the key of the corresponding node in the originating trie.
|
AssociativeAddedTree.AssociativeAddedTreeNode<E,V>[] |
getSubNodes()
Returns the sub-nodes of this node, which are not the same as the 0, 1 or 2 direct sub-nodes of the originating binary trie.
|
boolean |
isAdded()
Returns whether the node was an added node in the original trie.
|
String |
toString()
Returns a visual representation of this node including the key.
|
String |
toTreeString()
toTreeString returns a visual representation of the sub-tree originating from this node, with one node per line.
|
public AssociativeAddedTreeNode(AssociativeAddressTrie.AssociativeTrieNode<E,inet.ipaddr.format.util.AssociativeAddressTrie.SubNodesMappingAssociative<E,V>> node)
public AssociativeAddedTree.AssociativeAddedTreeNode<E,V>[] getSubNodes()
public E getKey()
public boolean isAdded()
public String toString()
public String toTreeString()