org.apache.commons.collections.primitives

Class RandomAccessDoubleList.RandomAccessDoubleSubList

protected static class RandomAccessDoubleList.RandomAccessDoubleSubList extends RandomAccessDoubleList implements DoubleList

Field Summary
RandomAccessDoubleList.ComodChecker_comod
int_limit
RandomAccessDoubleList_list
int_offset
Constructor Summary
RandomAccessDoubleSubList(RandomAccessDoubleList list, int fromIndex, int toIndex)
Method Summary
voidadd(int index, double element)
voidcheckRange(int index)
voidcheckRangeIncludingEndpoint(int index)
doubleget(int index)
doubleremoveElementAt(int index)
doubleset(int index, double element)
intsize()
inttoUnderlyingIndex(int index)

Field Detail

_comod

private RandomAccessDoubleList.ComodChecker _comod

_limit

private int _limit

_list

private RandomAccessDoubleList _list

_offset

private int _offset

Constructor Detail

RandomAccessDoubleSubList

RandomAccessDoubleSubList(RandomAccessDoubleList list, int fromIndex, int toIndex)

Method Detail

add

public void add(int index, double element)

checkRange

private void checkRange(int index)

checkRangeIncludingEndpoint

private void checkRangeIncludingEndpoint(int index)

get

public double get(int index)

removeElementAt

public double removeElementAt(int index)

set

public double set(int index, double element)

size

public int size()

toUnderlyingIndex

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