org.apache.commons.collections.primitives.adapters

Class AbstractListByteList

abstract class AbstractListByteList extends AbstractCollectionByteCollection implements ByteList

Since: Commons Primitives 1.0

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

Author: Rodney Waldhoff

Method Summary
voidadd(int index, byte element)
booleanaddAll(int index, ByteCollection collection)
booleanequals(Object obj)
byteget(int index)
protected CollectiongetCollection()
protected abstract ListgetList()
inthashCode()
intindexOf(byte element)
intlastIndexOf(byte element)
ByteListIteratorlistIterator()
wraps the ByteList returned by my underlying ByteListIterator, if any.
ByteListIteratorlistIterator(int index)
wraps the ByteList returned by my underlying ByteListIterator, if any.
byteremoveElementAt(int index)
byteset(int index, byte element)
ByteListsubList(int fromIndex, int toIndex)

Method Detail

add

public void add(int index, byte element)

addAll

public boolean addAll(int index, ByteCollection collection)

equals

public boolean equals(Object obj)

get

public byte get(int index)

getCollection

protected final Collection getCollection()

getList

protected abstract List getList()

hashCode

public int hashCode()

indexOf

public int indexOf(byte element)

lastIndexOf

public int lastIndexOf(byte element)

listIterator

public ByteListIterator listIterator()
wraps the ByteList returned by my underlying ByteListIterator, if any.

listIterator

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

removeElementAt

public byte removeElementAt(int index)

set

public byte set(int index, byte element)

subList

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