de.lmu.ifi.dbs.elki.math
Class ReplacingHistogram.RIter

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.math.ReplacingHistogram.RIter
All Implemented Interfaces:
Iterator<Pair<Double,T>>
Enclosing class:
ReplacingHistogram<T>

protected class ReplacingHistogram.RIter
extends Object
implements Iterator<Pair<Double,T>>

Iterator class to iterate over all bins.


Field Summary
(package private)  int bin
          Current bin number
 
Constructor Summary
protected ReplacingHistogram.RIter()
           
 
Method Summary
 boolean hasNext()
           
 Pair<Double,T> next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bin

int bin
Current bin number

Constructor Detail

ReplacingHistogram.RIter

protected ReplacingHistogram.RIter()
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface Iterator<Pair<Double,T>>

next

public Pair<Double,T> next()
Specified by:
next in interface Iterator<Pair<Double,T>>

remove

public void remove()
Specified by:
remove in interface Iterator<Pair<Double,T>>

Release 0.4.0 (2011-09-20_1324)