org.apache.commons.collections.primitives.adapters

Class AbstractListLongList

abstract class AbstractListLongList extends AbstractCollectionLongCollection implements LongList

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Method Summary
voidadd(int index, long element)
booleanaddAll(int index, LongCollection collection)
booleanequals(Object obj)
longget(int index)
protected CollectiongetCollection()
protected abstract ListgetList()
inthashCode()
intindexOf(long element)
intlastIndexOf(long element)
LongListIteratorlistIterator()
wraps the LongList returned by my underlying LongListIterator, if any.
LongListIteratorlistIterator(int index)
wraps the LongList returned by my underlying LongListIterator, if any.
longremoveElementAt(int index)
longset(int index, long element)
LongListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, long element)

addAll

public boolean addAll(int index, LongCollection collection)

equals

public boolean equals(Object obj)

get

public long get(int index)

getCollection

protected final Collection getCollection()

getList

protected abstract List getList()

hashCode

public int hashCode()

indexOf

public int indexOf(long element)

lastIndexOf

public int lastIndexOf(long element)

listIterator

public LongListIterator listIterator()
wraps the LongList returned by my underlying LongListIterator, if any.

listIterator

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

removeElementAt

public long removeElementAt(int index)

set

public long set(int index, long element)

subList

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