Interface Node<E>

All Known Implementing Classes:
NodeCopy

public interface Node<E>
An abstract structure for trees. Each tree may have multiple roots.
Author:
AO Industries, Inc.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the list of direct children of this node.
    Gets the value contained in this node.
  • Method Details

    • getChildren

      List<Node<E>> getChildren() throws IOException, SQLException
      Gets the list of direct children of this node. If this node cannot have children then return null. If this node can have children but there are none, return an empty List.
      Throws:
      IOException
      SQLException
    • getValue

      E getValue()
      Gets the value contained in this node. Comparisons of this value will be performed using the equals method.