Package net.didion.jwnl.util
Class TypeCheckingList.TypeCheckingListIterator
java.lang.Object
net.didion.jwnl.util.TypeCheckingList.TypeCheckingListIterator
- All Implemented Interfaces:
Iterator
,ListIterator
- Enclosing class:
TypeCheckingList
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
Create a TypeCheckingListIterator from a ListIterator. -
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
-
_itr
-
-
Constructor Details
-
TypeCheckingListIterator
Create a TypeCheckingListIterator from a ListIterator.
-
-
Method Details
-
getType
-
set
- Specified by:
set
in interfaceListIterator
-
add
- Specified by:
add
in interfaceListIterator
-
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
-
getListIterator
-