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