Class JSONArray.JSONArrayListIterator
java.lang.Object
net.sf.json.JSONArray.JSONArrayListIterator
- All Implemented Interfaces:
Iterator, ListIterator
- Enclosing class:
JSONArray
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int(package private) int -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Iterator
forEachRemaining
-
Field Details
-
currentIndex
int currentIndex -
lastIndex
int lastIndex
-
-
Constructor Details
-
JSONArrayListIterator
JSONArrayListIterator() -
JSONArrayListIterator
JSONArrayListIterator(int index)
-
-
Method Details
-
hasNext
public boolean hasNext()- Specified by:
hasNextin interfaceIterator- Specified by:
hasNextin interfaceListIterator
-
next
- Specified by:
nextin interfaceIterator- Specified by:
nextin interfaceListIterator
-
remove
public void remove()- Specified by:
removein interfaceIterator- Specified by:
removein interfaceListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator
-
previous
- Specified by:
previousin interfaceListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator
-
set
- Specified by:
setin interfaceListIterator
-
add
- Specified by:
addin interfaceListIterator
-