public interface Tree<N>
| Modifier and Type | Method and Description |
|---|---|
Collection<N> |
childrenOf(N n) |
Collection<N> |
getAllNodes() |
Collection<N> |
getLeaves() |
N |
getRoot() |
boolean |
isALeaf(N n) |
N |
parentOf(N n) |
int |
size() |
N getRoot()
Collection<N> getLeaves()
boolean isALeaf(N n)
Collection<N> getAllNodes()
int size()
Collection<N> childrenOf(N n)
Copyright © 2024 Soot OSS. All rights reserved.