|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
C
- Object type in hierarchypublic interface HierarchyInterface<C>
Interface to access hierarchies.
Method Summary | ||
---|---|---|
|
getAncestors(T collection)
Collect ancestors (recursive parents) |
|
List<C> |
getChildren()
Get children list. |
|
|
getDescendants(T collection)
Collect descendants (recursive children) |
|
List<C> |
getParents()
Get parents list. |
|
boolean |
isHierarchical()
Test for hierarchical properties |
|
int |
numChildren()
Get number of children |
|
int |
numParents()
Get number of parents |
Method Detail |
---|
boolean isHierarchical()
int numChildren()
List<C> getChildren()
<T extends Collection<C>> T getDescendants(T collection)
T
- collection typecollection
- Collection to fill
int numParents()
List<C> getParents()
<T extends Collection<C>> T getAncestors(T collection)
T
- collection typecollection
- Collection to fill.
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |