Class Completers.TreeCompleter.Node

  • Enclosing class:
    Completers.TreeCompleter

    public static class Completers.TreeCompleter.Node
    extends java.lang.Object
    Represents a node in the completion tree.

    Each node has a completer for the current level and a list of child nodes for the next level in the command hierarchy.

    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Node

        public Node​(Completer completer,
                    java.util.List<Completers.TreeCompleter.Node> nodes)
        Creates a new Node with the specified completer and child nodes.
        Parameters:
        completer - the completer for this node
        nodes - the list of child nodes