| Modifier and Type | Field and Description |
|---|---|
static ArrayRangeIterator |
EMPTY_ITERATOR
Empty iterator used whenever possible.
|
protected Object[] |
m_array
Array supplying values for iteration.
|
protected int |
m_limit
Ending offset for values.
|
protected int |
m_offset
Offset of next iteration value.
|
| Modifier and Type | Method and Description |
|---|---|
static Iterator |
buildIterator(Object[] array,
int start,
int limit)
Build iterator.
|
boolean |
hasNext()
Check for iteration element available.
|
Object |
next()
Get next iteration element.
|
void |
remove()
Remove element from iteration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static final ArrayRangeIterator EMPTY_ITERATOR
protected Object[] m_array
protected int m_offset
protected int m_limit
public boolean hasNext()
public Object next()
next in interface IteratorNoSuchElementException - if past end of iterationpublic void remove()
remove in interface IteratorUnsupportedOperationException - for unsupported operationCopyright © 2005–2016 jibx.org. All rights reserved.