Class NodeList

All Implemented Interfaces:
Serializable, Cloneable, Iterable<Node>, Collection<Node>, List<Node>, RandomAccess
Direct Known Subclasses:
Rank

public class NodeList extends ArrayList<Node>
A list containing nodes.
Since:
2.1.2
See Also:
  • Constructor Details

    • NodeList

      public NodeList()
      Constructs an empty NodeList.
    • NodeList

      public NodeList(NodeList list)
      Constructs a NodeList with the elements from the specified list.
      Parameters:
      list - the list whose elements are to be added to this list
  • Method Details

    • getNode

      @Deprecated(since="3.14", forRemoval=true) public Node getNode(int index)
      Deprecated, for removal: This API element is subject to removal in a future version.
      use Use ArrayList.get(int) instead.
      Returns the Node at the given index.
      Parameters:
      index - the index
      Returns:
      the node at a given index