gov.sandia.cognition.math.geometry
Class KDTree.Neighborhood.NeighborhoodIterator

java.lang.Object
  extended by gov.sandia.cognition.math.geometry.KDTree.Neighborhood.NeighborhoodIterator
All Implemented Interfaces:
Iterator<PairType>
Enclosing class:
KDTree.Neighborhood<VectorType extends Vectorizable,DataType,PairType extends Pair<? extends VectorType,DataType>>

protected class KDTree.Neighborhood.NeighborhoodIterator
extends Object
implements Iterator<PairType>

Iterator for the Neighborhood.


Constructor Summary
KDTree.Neighborhood.NeighborhoodIterator()
          Default constructor.
 
Method Summary
 boolean hasNext()
           
 PairType next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KDTree.Neighborhood.NeighborhoodIterator

public KDTree.Neighborhood.NeighborhoodIterator()
Default constructor.

Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<PairType extends Pair<? extends VectorType,DataType>>

next

public PairType next()
Specified by:
next in interface Iterator<PairType extends Pair<? extends VectorType,DataType>>

remove

public void remove()
Specified by:
remove in interface Iterator<PairType extends Pair<? extends VectorType,DataType>>