|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface QuadTree.Inspector
Quad-tree inspector object.
Method Summary | |
---|---|
void |
down()
Descends to the next deepest level of the tree (does nothing for leaf nodes). |
java.lang.Object |
getData()
Retrieves the current node's data. |
QuadTree.Node |
getNode()
Returns the current QuadTree.Node . |
void |
init()
(Re-)initialization of a Quad-tree pass. |
boolean |
isInner()
Is the current node inner? |
void |
makeLeafNode()
Discards all descendants of the current node. |
void |
next()
Advances in the same level (horizontally). |
java.lang.Object |
setData(java.lang.Object data)
Assigns the current node's data. |
void |
up()
Ascends to the previous level of the tree (does nothing for the root). |
Method Detail |
---|
void init()
boolean isInner()
true
if the current node is inner (non-leaf node).java.lang.Object getData()
null
).java.lang.Object setData(java.lang.Object data)
data
- The new data for the current node (can be null
).
QuadTree.Node getNode()
QuadTree.Node
.
void next()
void down()
void up()
void makeLeafNode()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |