| 
 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectorg.jibx.runtime.impl.SparseArrayIterator
public class SparseArrayIterator
Iterator class for sparse values in an array. This type of iterator
 can be used for an object array which has references interspersed with
 nulls.
| Method Summary | |
|---|---|
| static java.util.Iterator | buildIterator(java.lang.Object[] array)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 | 
| 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 operationpublic static java.util.Iterator buildIterator(java.lang.Object[] array)
array - array containing values to be iterated (may be
 null)
| 
 | ||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||