public class EmptyIterator<E> extends Object implements ListIterator<E>
| 限定符和类型 | 字段和说明 |
|---|---|
static EmptyIterator |
INSTANCE |
| 构造器和说明 |
|---|
EmptyIterator() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(E e) |
boolean |
hasNext() |
boolean |
hasPrevious() |
E |
next() |
int |
nextIndex() |
E |
previous() |
int |
previousIndex() |
void |
remove() |
void |
set(E e) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingpublic static final EmptyIterator INSTANCE
public boolean hasPrevious()
hasPrevious 在接口中 ListIterator<E>public E previous()
previous 在接口中 ListIterator<E>public int nextIndex()
nextIndex 在接口中 ListIterator<E>public int previousIndex()
previousIndex 在接口中 ListIterator<E>public void set(E e)
set 在接口中 ListIterator<E>public void add(E e)
add 在接口中 ListIterator<E>Copyright © 2022. All rights reserved.