Class NodeArrayList

    • Constructor Detail

      • NodeArrayList

        public NodeArrayList​(NodeList nodeList)
        Creates a node ArrayList from the given NodeList. A null NodeList results in an empty NodeArrayList.
        Parameters:
        nodeList - a node list
      • NodeArrayList

        public NodeArrayList​(Node node)
        Creates a node ArrayList from the given Node children. A null node or no children results in an empty NodeArrayList.
        Parameters:
        node - node to get the children list
    • Method Detail

      • item

        public Node item​(int index)
        Specified by:
        item in interface NodeList