public final class JSONArrayIterator extends Object implements ListIterator<Object>
Constructor and Description |
---|
JSONArrayIterator(String unparsed) |
JSONArrayIterator(String unparsed,
int nextIndex) |
public JSONArrayIterator(String unparsed, int nextIndex)
public JSONArrayIterator(String unparsed)
public Object next() throws NoSuchElementException, ConcurrentModificationException
next
in interface Iterator<Object>
next
in interface ListIterator<Object>
NoSuchElementException
ConcurrentModificationException
public boolean hasNext()
public int nextIndex()
nextIndex
in interface ListIterator<Object>
public Object previous()
previous
in interface ListIterator<Object>
public boolean hasPrevious()
hasPrevious
in interface ListIterator<Object>
public int previousIndex()
previousIndex
in interface ListIterator<Object>
public void add(Object o) throws ClassCastException, ConcurrentModificationException, UnsupportedOperationException
add
in interface ListIterator<Object>
ClassCastException
ConcurrentModificationException
UnsupportedOperationException
public void remove() throws IllegalStateException, ConcurrentModificationException, UnsupportedOperationException
remove
in interface Iterator<Object>
remove
in interface ListIterator<Object>
IllegalStateException
ConcurrentModificationException
UnsupportedOperationException
public void set(Object o) throws ClassCastException, IllegalStateException, ConcurrentModificationException, UnsupportedOperationException
set
in interface ListIterator<Object>
ClassCastException
IllegalStateException
ConcurrentModificationException
UnsupportedOperationException