|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator org.apache.commons.collections.list.AbstractLinkedList.LinkedSubListIterator
protected static class AbstractLinkedList.LinkedSubListIterator
A list iterator over the linked sub list.
Field Summary | |
---|---|
protected AbstractLinkedList.LinkedSubList |
sub
The parent list |
Fields inherited from class org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator |
---|
current, expectedModCount, next, nextIndex, parent |
Constructor Summary | |
---|---|
protected |
AbstractLinkedList.LinkedSubListIterator(AbstractLinkedList.LinkedSubList sub,
int startIndex)
|
Method Summary | |
---|---|
void |
add(java.lang.Object obj)
|
boolean |
hasNext()
|
boolean |
hasPrevious()
Checks to see if there is a previous element that can be iterated to. |
int |
nextIndex()
|
void |
remove()
|
Methods inherited from class org.apache.commons.collections.list.AbstractLinkedList.LinkedListIterator |
---|
checkModCount, getLastNodeReturned, next, previous, previousIndex, set |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final AbstractLinkedList.LinkedSubList sub
Constructor Detail |
---|
protected AbstractLinkedList.LinkedSubListIterator(AbstractLinkedList.LinkedSubList sub, int startIndex)
Method Detail |
---|
public boolean hasNext()
hasNext
in interface java.util.Iterator
hasNext
in interface java.util.ListIterator
hasNext
in class AbstractLinkedList.LinkedListIterator
public boolean hasPrevious()
OrderedIterator
hasPrevious
in interface java.util.ListIterator
hasPrevious
in interface OrderedIterator
hasPrevious
in class AbstractLinkedList.LinkedListIterator
true
if the iterator has a previous elementpublic int nextIndex()
nextIndex
in interface java.util.ListIterator
nextIndex
in class AbstractLinkedList.LinkedListIterator
public void add(java.lang.Object obj)
add
in interface java.util.ListIterator
add
in class AbstractLinkedList.LinkedListIterator
public void remove()
remove
in interface java.util.Iterator
remove
in interface java.util.ListIterator
remove
in class AbstractLinkedList.LinkedListIterator
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |