| Modifier and Type | Field and Description |
|---|---|
private NodeNumericIndex[] |
array |
private int |
highIndex |
private boolean |
highInRange |
private int |
lowIndex |
private boolean |
lowInRange |
private Range |
range |
private int |
target |
| Constructor and Description |
|---|
NodeNumericIndexIterator(Range range,
NodeNumericIndex[] array,
int target,
int startIndex) |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
hasNext() |
(package private) NodeNumericIndex |
next() |
private final NodeNumericIndex[] array
private final int target
private final Range range
private int lowIndex
private int highIndex
private boolean lowInRange
private boolean highInRange
NodeNumericIndexIterator(Range range, NodeNumericIndex[] array, int target, int startIndex)
range - the range of values the iterator can returnarray - array of items that could be returnedtarget - the target valuestartIndex - start index in the arrayboolean hasNext()
NodeNumericIndex next()