public interface IntColumnIterator
IntColumnMap object.
Typical usage of this class is as follows:
IntColumnIterator iter = someIntColumnMap.iterator();
while (iter.hasNext()) {
iter.advance();
int columnId = iter.getColumnId();
int 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.
|
int |
getValue()
Returns the value of the current columnId-value pair.
|
boolean |
hasNext()
Check whether the iterator has a next element.
|
void |
incValue(int value)
Increments the value of the current columnId-value pair.
|
void |
setValue(int value)
Sets the value of the current columnId-value pair.
|
boolean hasNext()
void advance()
int getColumnId()
int getValue()
void setValue(int value)
value - new value to be set.void incValue(int value)
value - value to increment by.