protected static class RandomAccessDoubleList.RandomAccessDoubleSubList extends RandomAccessDoubleList implements DoubleList
RandomAccessDoubleList.RandomAccessDoubleListIterator, RandomAccessDoubleList.RandomAccessDoubleSubList
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
double element)
Unsupported in this implementation.
|
double |
get(int index)
Returns the value of the element at the specified position
within me.
|
double |
removeElementAt(int index)
Unsupported in this implementation.
|
double |
set(int index,
double element)
Unsupported in this implementation.
|
int |
size()
Returns the number of elements I contain.
|
add, addAll, equals, getModCount, hashCode, incrModCount, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList, toString
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, addAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, subList
addAll, clear, contains, containsAll, isEmpty, removeAll, removeElement, retainAll, toArray, toArray
public double get(int index)
DoubleList
get
in interface DoubleList
get
in class RandomAccessDoubleList
index
- the index of the element to returnpublic double removeElementAt(int index)
RandomAccessDoubleList
removeElementAt
in interface DoubleList
removeElementAt
in class RandomAccessDoubleList
index
- the index of the element to removepublic double set(int index, double element)
RandomAccessDoubleList
set
in interface DoubleList
set
in class RandomAccessDoubleList
index
- the index of the element to changeelement
- the value to be stored at the specified positionpublic void add(int index, double element)
RandomAccessDoubleList
add
in interface DoubleList
add
in class RandomAccessDoubleList
index
- the index at which to insert the elementelement
- the value to insertpublic int size()
DoubleCollection
size
in interface DoubleCollection
size
in class RandomAccessDoubleList
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.