protected static class RandomAccessLongList.RandomAccessLongSubList extends RandomAccessLongList implements LongList
RandomAccessLongList.RandomAccessLongListIterator, RandomAccessLongList.RandomAccessLongSubList
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
long element)
Unsupported in this implementation.
|
long |
get(int index)
Returns the value of the element at the specified position
within me.
|
long |
removeElementAt(int index)
Unsupported in this implementation.
|
long |
set(int index,
long 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 long get(int index)
LongList
get
in interface LongList
get
in class RandomAccessLongList
index
- the index of the element to returnpublic long removeElementAt(int index)
RandomAccessLongList
removeElementAt
in interface LongList
removeElementAt
in class RandomAccessLongList
index
- the index of the element to removepublic long set(int index, long element)
RandomAccessLongList
set
in interface LongList
set
in class RandomAccessLongList
index
- the index of the element to changeelement
- the value to be stored at the specified positionpublic void add(int index, long element)
RandomAccessLongList
add
in interface LongList
add
in class RandomAccessLongList
index
- the index at which to insert the elementelement
- the value to insertpublic int size()
LongCollection
size
in interface LongCollection
size
in class RandomAccessLongList
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.