org.apache.commons.collections.list

Class AbstractLinkedList.LinkedSubListIterator

protected static class AbstractLinkedList.LinkedSubListIterator extends AbstractLinkedList.LinkedListIterator

A list iterator over the linked sub list.
Field Summary
protected AbstractLinkedList.LinkedSubListsub
The parent list
Constructor Summary
protected LinkedSubListIterator(AbstractLinkedList.LinkedSubList sub, int startIndex)
Method Summary
voidadd(Object obj)
booleanhasNext()
booleanhasPrevious()
intnextIndex()
voidremove()

Field Detail

sub

protected final AbstractLinkedList.LinkedSubList sub
The parent list

Constructor Detail

LinkedSubListIterator

protected LinkedSubListIterator(AbstractLinkedList.LinkedSubList sub, int startIndex)

Method Detail

add

public void add(Object obj)

hasNext

public boolean hasNext()

hasPrevious

public boolean hasPrevious()

nextIndex

public int nextIndex()

remove

public void remove()
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.