org.webmacro.util
Class SparseArrayIterator

java.lang.Object
  |
  +--org.webmacro.util.SparseArrayIterator
All Implemented Interfaces:
java.util.Iterator

public class SparseArrayIterator
extends java.lang.Object
implements java.util.Iterator


Field Summary
protected  int _last
           
protected  int _pos
           
protected  java.lang.Object[] _values
           
 
Method Summary
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_last

protected int _last

_pos

protected int _pos

_values

protected final java.lang.Object[] _values
Method Detail

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

remove

public void remove()
            throws java.lang.IllegalStateException
Specified by:
remove in interface java.util.Iterator