|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
O
- Object type in hierarchypublic interface Hierarchical<O>
Interface for objects with an internal hierarchy interface. Note that the object can chose to delegate the hierarchy to an external hierarchy.
Method Summary | |
---|---|
List<O> |
getChildren()
Get children list. |
List<O> |
getParents()
Get parents list. |
boolean |
isHierarchical()
Test for hierarchical properties |
IterableIterator<O> |
iterAncestors()
Iterate ancestors (recursive parents) |
IterableIterator<O> |
iterDescendants()
Iterate descendants (recursive children) |
int |
numChildren()
Get number of children |
int |
numParents()
Get number of parents |
Method Detail |
---|
boolean isHierarchical()
int numChildren()
List<O> getChildren()
IterableIterator<O> iterDescendants()
int numParents()
List<O> getParents()
IterableIterator<O> iterAncestors()
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |