cz.cuni.amis.pogamut.defcon.utils.quadtree
Class QuadTreeBFSIterator

Package class diagram package QuadTreeBFSIterator
java.lang.Object
  extended by 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 QuadTrees, in a BFS manner.

Author:
Radek 'Black_Hand' Pibil

Constructor Summary
QuadTreeBFSIterator(QuadTree tree)
           
 
Method Summary
 boolean hasNext()
           
 QuadTreeNode next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QuadTreeBFSIterator

public QuadTreeBFSIterator(QuadTree tree)
Method Detail

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.