cz.cuni.amis.pogamut.defcon.utils.quadtree
Class QuadTreeBFSIterator
java.lang.Object
cz.cuni.amis.pogamut.defcon.utils.quadtree.QuadTreeBFSIterator
- All Implemented Interfaces:
- Iterator<QuadTreeNode>
public class QuadTreeBFSIterator
- extends Object
- implements Iterator<QuadTreeNode>
Allows user to iterate over
QuadTree
s, in a BFS
manner.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QuadTreeBFSIterator
public QuadTreeBFSIterator(QuadTree tree)
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interface Iterator<QuadTreeNode>
next
public QuadTreeNode next()
- Specified by:
next
in interface Iterator<QuadTreeNode>
remove
public void remove()
- Specified by:
remove
in interface Iterator<QuadTreeNode>
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.