public interface FloatColumnIterator
FloatColumnMap object.
Typical usage of this class is as follows:
FloatColumnIterator iter = someFloatColumnMap.iterator();
while (iter.hasNext()) {
iter.advance();
int columnId = iter.getColumnId();
float value = iter.getValue();
}
| Modifier and Type | Method and Description |
|---|---|
void |
advance()
Advance the iterator to the next columnId-value pair.
|
int |
getColumnId()
Returns the columnId of the current columnId-value pair.
|
float |
getValue()
Returns the value of the current columnId-value pair.
|
boolean |
hasNext()
Check whether the iterator has a next element.
|
void |
incValue(float value)
Increments the value of the current columnId-value pair.
|
void |
setValue(float value)
Sets the value of the current columnId-value pair.
|
boolean hasNext()
void advance()
int getColumnId()
float getValue()
void setValue(float value)
value - new value to be set.void incValue(float value)
value - value to increment by.