public abstract class AbstractStaticHistogram.Iter extends java.lang.Object implements Histogram.Iter
Modifier and Type | Field and Description |
---|---|
(package private) int |
bin
Current bin number
|
Constructor and Description |
---|
Iter() |
Modifier and Type | Method and Description |
---|---|
AbstractStaticHistogram.Iter |
advance()
Moves the iterator forward to the next entry.
|
AbstractStaticHistogram.Iter |
advance(int count)
Moves the iterator forward or backward by the given offset.
|
double |
getCenter()
Get the bin center.
|
double |
getLeft()
Get the bin minimum.
|
int |
getOffset()
Get current iterator offset.
|
double |
getRight()
Get the bin maximum.
|
AbstractStaticHistogram.Iter |
retract()
Moves the iterator backward to the previous entry.
|
AbstractStaticHistogram.Iter |
seek(int off)
Moves the iterator to the given position
|
boolean |
valid()
Returns true if the iterator currently points to a valid object.
|
public double getCenter()
Histogram.Iter
getCenter
in interface Histogram.Iter
public double getLeft()
Histogram.Iter
getLeft
in interface Histogram.Iter
public double getRight()
Histogram.Iter
getRight
in interface Histogram.Iter
public boolean valid()
Iter
public AbstractStaticHistogram.Iter advance()
Iter
public int getOffset()
ArrayIter
public AbstractStaticHistogram.Iter advance(int count)
ArrayIter
public AbstractStaticHistogram.Iter retract()
ArrayIter
public AbstractStaticHistogram.Iter seek(int off)
ArrayIter
Copyright © 2019 ELKI Development Team. License information.