org.apache.commons.collections.primitives.adapters

Class AbstractListShortList

abstract class AbstractListShortList extends AbstractCollectionShortCollection implements ShortList

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Method Summary
voidadd(int index, short element)
booleanaddAll(int index, ShortCollection collection)
booleanequals(Object obj)
shortget(int index)
protected CollectiongetCollection()
protected abstract ListgetList()
inthashCode()
intindexOf(short element)
intlastIndexOf(short element)
ShortListIteratorlistIterator()
wraps the ShortList returned by my underlying ShortListIterator, if any.
ShortListIteratorlistIterator(int index)
wraps the ShortList returned by my underlying ShortListIterator, if any.
shortremoveElementAt(int index)
shortset(int index, short element)
ShortListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, short element)

addAll

public boolean addAll(int index, ShortCollection collection)

equals

public boolean equals(Object obj)

get

public short get(int index)

getCollection

protected final Collection getCollection()

getList

protected abstract List getList()

hashCode

public int hashCode()

indexOf

public int indexOf(short element)

lastIndexOf

public int lastIndexOf(short element)

listIterator

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

listIterator

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

removeElementAt

public short removeElementAt(int index)

set

public short set(int index, short element)

subList

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