org.apache.commons.collections.primitives.adapters

Class AbstractListDoubleList

abstract class AbstractListDoubleList extends AbstractCollectionDoubleCollection implements DoubleList

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Method Summary
voidadd(int index, double element)
booleanaddAll(int index, DoubleCollection collection)
booleanequals(Object obj)
doubleget(int index)
protected CollectiongetCollection()
protected abstract ListgetList()
inthashCode()
intindexOf(double element)
intlastIndexOf(double element)
DoubleListIteratorlistIterator()
wraps the DoubleList returned by my underlying DoubleListIterator, if any.
DoubleListIteratorlistIterator(int index)
wraps the DoubleList returned by my underlying DoubleListIterator, if any.
doubleremoveElementAt(int index)
doubleset(int index, double element)
DoubleListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, double element)

addAll

public boolean addAll(int index, DoubleCollection collection)

equals

public boolean equals(Object obj)

get

public double get(int index)

getCollection

protected final Collection getCollection()

getList

protected abstract List getList()

hashCode

public int hashCode()

indexOf

public int indexOf(double element)

lastIndexOf

public int lastIndexOf(double element)

listIterator

public DoubleListIterator listIterator()
wraps the DoubleList returned by my underlying DoubleListIterator, if any.

listIterator

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

removeElementAt

public double removeElementAt(int index)

set

public double set(int index, double element)

subList

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