protected static class AbstractLinkedList.LinkedSubListIterator<E> extends AbstractLinkedList.LinkedListIterator<E>
| 限定符和类型 | 字段和说明 |
|---|---|
protected AbstractLinkedList.LinkedSubList<E> |
sub
The parent list
|
current, expectedModCount, next, nextIndex, parent| 限定符 | 构造器和说明 |
|---|---|
protected |
LinkedSubListIterator(AbstractLinkedList.LinkedSubList<E> sub,
int startIndex) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
add(E obj) |
boolean |
hasNext() |
boolean |
hasPrevious()
Checks to see if there is a previous element that can be iterated to.
|
int |
nextIndex() |
void |
remove() |
checkModCount, getLastNodeReturned, next, previous, previousIndex, setclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingprotected final AbstractLinkedList.LinkedSubList<E> sub
protected LinkedSubListIterator(AbstractLinkedList.LinkedSubList<E> sub, int startIndex)
public boolean hasNext()
hasNext 在接口中 Iterator<E>hasNext 在接口中 ListIterator<E>hasNext 在类中 AbstractLinkedList.LinkedListIterator<E>public boolean hasPrevious()
OrderedIteratorhasPrevious 在接口中 OrderedIterator<E>hasPrevious 在接口中 ListIterator<E>hasPrevious 在类中 AbstractLinkedList.LinkedListIterator<E>true if the iterator has a previous elementpublic int nextIndex()
nextIndex 在接口中 ListIterator<E>nextIndex 在类中 AbstractLinkedList.LinkedListIterator<E>public void add(E obj)
add 在接口中 ListIterator<E>add 在类中 AbstractLinkedList.LinkedListIterator<E>public void remove()
remove 在接口中 Iterator<E>remove 在接口中 ListIterator<E>remove 在类中 AbstractLinkedList.LinkedListIterator<E>Copyright © 2022. All rights reserved.