public static class ObjectIterators.EmptyIterator<K> extends java.lang.Object implements ObjectListIterator<K>, java.io.Serializable, java.lang.Cloneable
This class may be useful to implement your own in case you subclass a type-specific iterator.
| Modifier | Constructor and Description |
|---|---|
protected |
EmptyIterator() |
| Modifier and Type | Method and Description |
|---|---|
int |
back(int n) |
java.lang.Object |
clone() |
void |
forEachRemaining(java.util.function.Consumer<? super K> action) |
boolean |
hasNext() |
boolean |
hasPrevious() |
K |
next() |
int |
nextIndex() |
K |
previous() |
int |
previousIndex() |
int |
skip(int n) |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, remove, setpublic boolean hasNext()
public boolean hasPrevious()
public K next()
public K previous()
public int nextIndex()
nextIndex in interface java.util.ListIterator<K>public int previousIndex()
previousIndex in interface java.util.ListIterator<K>public int skip(int n)
public int back(int n)
back in interface it.unimi.dsi.fastutil.objects.ObjectBidirectionalIterator<K>public void forEachRemaining(java.util.function.Consumer<? super K> action)
forEachRemaining in interface java.util.Iterator<K>public java.lang.Object clone()
clone in class java.lang.Object