|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
| Method Summary | |
container.Position |
add(java.lang.Object elem)
Adds a new external Position to the "end" of the heap tree -- as a child of an existing position, or as the root if the heap tree is empty. |
java.lang.Object |
remove()
Removes the "last" position in the heap tree. |
| Methods inherited from interface tree.BinaryTree |
hasLeft, hasRight, left, right |
| Methods inherited from interface tree.Tree |
children, elements, isEmpty, isExternal, isInternal, isRoot, parent, positions, replace, root, size |
| Method Detail |
public container.Position add(java.lang.Object elem)
elem - - an Object to be added
public java.lang.Object remove()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||