org.apache.commons.collections.primitives.adapters

Class AbstractShortListList

abstract class AbstractShortListList extends AbstractShortCollectionCollection implements List

Since: Commons Primitives 1.0

Version: $Revision: 1.3 $ $Date: 2003/10/16 20:49:39 $

Author: Rodney Waldhoff

Method Summary
voidadd(int index, Object element)
booleanaddAll(int index, Collection c)
booleanequals(Object obj)
Objectget(int index)
protected ShortCollectiongetShortCollection()
protected abstract ShortListgetShortList()
inthashCode()
intindexOf(Object element)
intlastIndexOf(Object element)
ListIteratorlistIterator()
wraps the ShortListIterator returned by my underlying ShortList, if any.
ListIteratorlistIterator(int index)
wraps the ShortListIterator returned by my underlying ShortList, if any.
Objectremove(int index)
Objectset(int index, Object element)
ListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, Object element)

addAll

public boolean addAll(int index, Collection c)

equals

public boolean equals(Object obj)

get

public Object get(int index)

getShortCollection

protected final ShortCollection getShortCollection()

getShortList

protected abstract ShortList getShortList()

hashCode

public int hashCode()

indexOf

public int indexOf(Object element)

lastIndexOf

public int lastIndexOf(Object element)

listIterator

public ListIterator listIterator()
wraps the ShortListIterator returned by my underlying ShortList, if any.

listIterator

public ListIterator listIterator(int index)
wraps the ShortListIterator returned by my underlying ShortList, if any.

remove

public Object remove(int index)

set

public Object set(int index, Object element)

subList

public List subList(int fromIndex, int toIndex)
Copyright (c) 2002-2003 - Apache Software Foundation