Package org.kordamp.json
Class JSONArray.JSONArrayListIterator
java.lang.Object
org.kordamp.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.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:
hasNext
in interfaceIterator
- Specified by:
hasNext
in interfaceListIterator
-
next
- Specified by:
next
in interfaceIterator
- Specified by:
next
in interfaceListIterator
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPrevious
in interfaceListIterator
-
previous
- Specified by:
previous
in interfaceListIterator
-
nextIndex
public int nextIndex()- Specified by:
nextIndex
in interfaceListIterator
-
previousIndex
public int previousIndex()- Specified by:
previousIndex
in interfaceListIterator
-
remove
public void remove()- Specified by:
remove
in interfaceIterator
- Specified by:
remove
in interfaceListIterator
-
set
- Specified by:
set
in interfaceListIterator
-
add
- Specified by:
add
in interfaceListIterator
-