Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

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

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

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

Iterator class to iterate over all bins.

Author:
Erich Schubert

Field Summary
(package private)  int bin
          Current bin number
 
Constructor Summary
protected ReplacingHistogram.Iter()
           
 
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.Iter

protected ReplacingHistogram.Iter()
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.3 (2010-03-31_1612)