Methods
Modifier and Type |
Method and Description |
void |
addLink(Pair<T,T> link) |
void |
addLink(T parent,
T child) |
void |
addLinks(Collection<Pair<T,T>> links) |
HashSet<T> |
getAncestors(T node) |
HashSet<T> |
getAncestors(T node,
int position) |
HashSet<T> |
getAncestors(T node,
int start,
int end) |
HashSet<T> |
getDescendants(T node) |
HashSet<T> |
getDescendants(T node,
int position) |
HashSet<T> |
getDescendants(T node,
int start,
int end) |
Set<T> |
keySet() |
void |
removeLink(Pair<T,T> link) |
void |
removeLink(T parent,
T child) |
void |
removeLinks(Collection<Pair<T,T>> links) |
int |
size() |