|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.runtime.impl.ArrayRangeIterator
public class ArrayRangeIterator
Iterator class for values contained in an array range. This type of iterator can be used for any contiguous range of items in an object array.
| Field Summary | |
|---|---|
static ArrayRangeIterator |
EMPTY_ITERATOR
Empty iterator used whenever possible. |
| Method Summary | |
|---|---|
static java.util.Iterator |
buildIterator(java.lang.Object[] array,
int start,
int limit)
Build iterator. |
boolean |
hasNext()
Check for iteration element available. |
java.lang.Object |
next()
Get next iteration element. |
void |
remove()
Remove element from iteration. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final ArrayRangeIterator EMPTY_ITERATOR
| Method Detail |
|---|
public boolean hasNext()
hasNext in interface java.util.Iteratortrue if element available, false if
notpublic java.lang.Object next()
next in interface java.util.Iteratorjava.util.NoSuchElementException - if past end of iterationpublic void remove()
remove in interface java.util.Iteratorjava.lang.UnsupportedOperationException - for unsupported operation
public static java.util.Iterator buildIterator(java.lang.Object[] array,
int start,
int limit)
array - array containing values to be iterated (may be
null)start - starting offset in arraylimit - offset past end of values
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||