Interface Trie.Node<V>

Type Parameters:
V - the type of values stored in the node.
Enclosing interface:
Trie<T>

public static interface Trie.Node<V>
Node within the Trie structure, containing a list of children and values.
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieves all child nodes of this node.
    Retrieves all values stored in this node.
  • Method Details

    • getChildren

      List<Trie.Node<V>> getChildren()
      Retrieves all child nodes of this node.
      Returns:
      a list of all child nodes.
    • getValues

      List<V> getValues()
      Retrieves all values stored in this node.
      Returns:
      a list of values stored in this node.