Package com.intellij.util.containers
Class EmptyListIterator<E>
java.lang.Object
com.intellij.util.containers.EmptyIterator<E>
com.intellij.util.containers.EmptyListIterator<E>
- All Implemented Interfaces:
Iterator<E>,ListIterator<E>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidstatic <E> EmptyListIterator<E> booleanintprevious()intvoidMethods inherited from class com.intellij.util.containers.EmptyIterator
hasNext, next, removeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemainingMethods inherited from interface java.util.ListIterator
hasNext, next, remove
-
Constructor Details
-
EmptyListIterator
public EmptyListIterator()
-
-
Method Details
-
getInstance
-
hasPrevious
public boolean hasPrevious()- Specified by:
hasPreviousin interfaceListIterator<E>
-
previous
- Specified by:
previousin interfaceListIterator<E>
-
nextIndex
public int nextIndex()- Specified by:
nextIndexin interfaceListIterator<E>
-
previousIndex
public int previousIndex()- Specified by:
previousIndexin interfaceListIterator<E>
-
set
- Specified by:
setin interfaceListIterator<E>
-
add
- Specified by:
addin interfaceListIterator<E>
-