org.apache.commons.collections.primitives

Class RandomAccessCharList.RandomAccessCharSubList

protected static class RandomAccessCharList.RandomAccessCharSubList extends RandomAccessCharList implements CharList

Field Summary
RandomAccessCharList.ComodChecker_comod
int_limit
RandomAccessCharList_list
int_offset
Constructor Summary
RandomAccessCharSubList(RandomAccessCharList list, int fromIndex, int toIndex)
Method Summary
voidadd(int index, char element)
voidcheckRange(int index)
voidcheckRangeIncludingEndpoint(int index)
charget(int index)
charremoveElementAt(int index)
charset(int index, char element)
intsize()
inttoUnderlyingIndex(int index)

Field Detail

_comod

private RandomAccessCharList.ComodChecker _comod

_limit

private int _limit

_list

private RandomAccessCharList _list

_offset

private int _offset

Constructor Detail

RandomAccessCharSubList

RandomAccessCharSubList(RandomAccessCharList list, int fromIndex, int toIndex)

Method Detail

add

public void add(int index, char element)

checkRange

private void checkRange(int index)

checkRangeIncludingEndpoint

private void checkRangeIncludingEndpoint(int index)

get

public char get(int index)

removeElementAt

public char removeElementAt(int index)

set

public char set(int index, char element)

size

public int size()

toUnderlyingIndex

private int toUnderlyingIndex(int index)
Copyright (c) 2002-2003 - Apache Software Foundation