public abstract class AbstractStaticHistogram.Iter extends Object implements Histogram.Iter
Modifier and Type | Field and Description |
---|---|
(package private) int |
bin
Current bin number
|
Constructor and Description |
---|
AbstractStaticHistogram.Iter() |
Modifier and Type | Method and Description |
---|---|
void |
advance()
Moves the iterator forward to the next entry.
|
void |
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.
|
void |
retract()
Moves the iterator backward to the previous entry.
|
void |
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 void advance()
Iter
public int getOffset()
ArrayIter
public void advance(int count)
ArrayIter
public void retract()
ArrayIter