org.apache.commons.collections.list

Class AbstractLinkedList.LinkedSubList

protected static class AbstractLinkedList.LinkedSubList extends AbstractList

The sublist implementation for AbstractLinkedList.
Constructor Summary
protected LinkedSubList(AbstractLinkedList parent, int fromIndex, int toIndex)
Method Summary
voidadd(int index, Object obj)
booleanaddAll(Collection coll)
booleanaddAll(int index, Collection coll)
protected voidcheckModCount()
voidclear()
Objectget(int index)
Iteratoriterator()
ListIteratorlistIterator(int index)
protected voidrangeCheck(int index, int beyond)
Objectremove(int index)
Objectset(int index, Object obj)
intsize()
ListsubList(int fromIndexInclusive, int toIndexExclusive)

Constructor Detail

LinkedSubList

protected LinkedSubList(AbstractLinkedList parent, int fromIndex, int toIndex)

Method Detail

add

public void add(int index, Object obj)

addAll

public boolean addAll(Collection coll)

addAll

public boolean addAll(int index, Collection coll)

checkModCount

protected void checkModCount()

clear

public void clear()

get

public Object get(int index)

iterator

public Iterator iterator()

listIterator

public ListIterator listIterator(int index)

rangeCheck

protected void rangeCheck(int index, int beyond)

remove

public Object remove(int index)

set

public Object set(int index, Object obj)

size

public int size()

subList

public List subList(int fromIndexInclusive, int toIndexExclusive)
Copyright © 2001-2008 Apache Software Foundation. All Rights Reserved.