org.apache.commons.collections.primitives

Class RandomAccessIntList.RandomAccessIntSubList

protected static class RandomAccessIntList.RandomAccessIntSubList extends RandomAccessIntList implements IntList

Field Summary
RandomAccessIntList.ComodChecker_comod
int_limit
RandomAccessIntList_list
int_offset
Constructor Summary
RandomAccessIntSubList(RandomAccessIntList list, int fromIndex, int toIndex)
Method Summary
voidadd(int index, int element)
voidcheckRange(int index)
voidcheckRangeIncludingEndpoint(int index)
intget(int index)
intremoveElementAt(int index)
intset(int index, int element)
intsize()
inttoUnderlyingIndex(int index)

Field Detail

_comod

private RandomAccessIntList.ComodChecker _comod

_limit

private int _limit

_list

private RandomAccessIntList _list

_offset

private int _offset

Constructor Detail

RandomAccessIntSubList

RandomAccessIntSubList(RandomAccessIntList list, int fromIndex, int toIndex)

Method Detail

add

public void add(int index, int element)

checkRange

private void checkRange(int index)

checkRangeIncludingEndpoint

private void checkRangeIncludingEndpoint(int index)

get

public int get(int index)

removeElementAt

public int removeElementAt(int index)

set

public int set(int index, int element)

size

public int size()

toUnderlyingIndex

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