org.apache.commons.collections.primitives.adapters

Class AbstractListCharList

abstract class AbstractListCharList extends AbstractCollectionCharCollection implements CharList

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Method Summary
voidadd(int index, char element)
booleanaddAll(int index, CharCollection collection)
booleanequals(Object obj)
charget(int index)
protected CollectiongetCollection()
protected abstract ListgetList()
inthashCode()
intindexOf(char element)
intlastIndexOf(char element)
CharListIteratorlistIterator()
wraps the CharList returned by my underlying CharListIterator, if any.
CharListIteratorlistIterator(int index)
wraps the CharList returned by my underlying CharListIterator, if any.
charremoveElementAt(int index)
charset(int index, char element)
CharListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, char element)

addAll

public boolean addAll(int index, CharCollection collection)

equals

public boolean equals(Object obj)

get

public char get(int index)

getCollection

protected final Collection getCollection()

getList

protected abstract List getList()

hashCode

public int hashCode()

indexOf

public int indexOf(char element)

lastIndexOf

public int lastIndexOf(char element)

listIterator

public CharListIterator listIterator()
wraps the CharList returned by my underlying CharListIterator, if any.

listIterator

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

removeElementAt

public char removeElementAt(int index)

set

public char set(int index, char element)

subList

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