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