
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.ItergetCenter in interface Histogram.Iterpublic double getLeft()
Histogram.ItergetLeft in interface Histogram.Iterpublic double getRight()
Histogram.ItergetRight in interface Histogram.Iterpublic boolean valid()
Iterpublic void advance()
Iterpublic int getOffset()
ArrayIterpublic void advance(int count)
ArrayIterpublic void retract()
ArrayIter