public interface BucketIterator
The general pattern for usage is you call next() and if that returns true, you will get values from getKey() and getValue(). If next() returned false, that means that iteration is complete; getKey() and getValue() become undefined.
| Modifier and Type | Method and Description |
|---|---|
int |
getKey()
Gets the index of the current bucket
|
byte |
getValue()
Gets the value of the current bucket
|
boolean |
next()
Should be called before each step of iteration (as well as immediately after initialization)
|
boolean next()
int getKey()
byte getValue()
Copyright © 2015–2017 Yahoo! Inc.. All rights reserved.