|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Map2dTree.Leaf
protected static class Map2dTree.Leaf
Field Summary | |
---|---|
protected ArrayList<MapElement> |
elements
|
protected int |
numberWaysAndAreas
|
protected Map2dTree.InnerNode |
parent
|
Constructor Summary | |
---|---|
protected |
Map2dTree.Leaf(Map2dTree.InnerNode parent)
|
Method Summary | |
---|---|
void |
add(MapElement element,
boolean suppressSplits)
|
void |
collectLeaves(List<Map2dTree.Leaf> leaves)
adds all leaves in the subtree starting at this node to a list |
Iterator<MapElement> |
iterator()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final Map2dTree.InnerNode parent
protected final ArrayList<MapElement> elements
protected int numberWaysAndAreas
Constructor Detail |
---|
protected Map2dTree.Leaf(Map2dTree.InnerNode parent)
Method Detail |
---|
public void add(MapElement element, boolean suppressSplits)
add
in interface Map2dTree.Node
public Iterator<MapElement> iterator()
iterator
in interface Iterable<MapElement>
public void collectLeaves(List<Map2dTree.Leaf> leaves)
Map2dTree.Node
collectLeaves
in interface Map2dTree.Node
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |