private static class LazyStringArrayList.ByteArrayListView
extends java.util.AbstractList<byte[]>
implements java.util.RandomAccess
Modifier and Type | Field and Description |
---|---|
private LazyStringArrayList |
list |
Constructor and Description |
---|
ByteArrayListView(LazyStringArrayList list) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
byte[] s) |
byte[] |
get(int index) |
byte[] |
remove(int index) |
byte[] |
set(int index,
byte[] s) |
int |
size() |
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
private final LazyStringArrayList list
ByteArrayListView(LazyStringArrayList list)
public byte[] get(int index)
get
in interface java.util.List<byte[]>
get
in class java.util.AbstractList<byte[]>
public int size()
size
in interface java.util.Collection<byte[]>
size
in interface java.util.List<byte[]>
size
in class java.util.AbstractCollection<byte[]>
public byte[] set(int index, byte[] s)
set
in interface java.util.List<byte[]>
set
in class java.util.AbstractList<byte[]>
public void add(int index, byte[] s)
add
in interface java.util.List<byte[]>
add
in class java.util.AbstractList<byte[]>
public byte[] remove(int index)
remove
in interface java.util.List<byte[]>
remove
in class java.util.AbstractList<byte[]>