The set of external edges. This is a pretty inefficient implementation because a new set is constructed each time this is called. @return the set of external edges.
()
| 460 | * @return the set of external edges. |
| 461 | */ |
| 462 | public Set<Edge> getExternalEdges() { |
| 463 | Set<Edge> edges = new LinkedHashSet<Edge>(); |
| 464 | for (Node node : getExternalNodes()) { |
| 465 | edges.add(((ReRootedNode)node).getEdge()); |
| 466 | } |
| 467 | return edges; |
| 468 | } |
| 469 | |
| 470 | /** |
| 471 | * The set of internal edges. This is a pretty inefficient implementation because |
nothing calls this directly
no test coverage detected