Returns the root node. @return root node
()
| 128 | * @return root node |
| 129 | */ |
| 130 | public ArrayList<PathNode> root() { |
| 131 | final ArrayList<PathNode> out = new ArrayList<>(); |
| 132 | out.add(root); |
| 133 | return out; |
| 134 | } |
| 135 | |
| 136 | /** |
| 137 | * Returns all parents of the specified nodes. |