Package com.google.protobuf
Class LazyStringArrayList.ByteArrayListView
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<byte[]>
com.google.protobuf.LazyStringArrayList.ByteArrayListView
- All Implemented Interfaces:
Iterable<byte[]>,Collection<byte[]>,List<byte[]>,RandomAccess
- Enclosing class:
- LazyStringArrayList
private static class LazyStringArrayList.ByteArrayListView
extends AbstractList<byte[]>
implements RandomAccess
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.AbstractList
add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, removeRange, subListMethods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArrayMethods inherited from interface java.util.List
addAll, contains, containsAll, isEmpty, remove, removeAll, replaceAll, retainAll, sort, spliterator, toArray, toArray
-
Field Details
-
list
-
-
Constructor Details
-
ByteArrayListView
ByteArrayListView(LazyStringArrayList list)
-
-
Method Details
-
get
public byte[] get(int index) - Specified by:
getin interfaceList<byte[]>- Specified by:
getin classAbstractList<byte[]>
-
size
public int size()- Specified by:
sizein interfaceCollection<byte[]>- Specified by:
sizein interfaceList<byte[]>- Specified by:
sizein classAbstractCollection<byte[]>
-
set
public byte[] set(int index, byte[] s) - Specified by:
setin interfaceList<byte[]>- Overrides:
setin classAbstractList<byte[]>
-
add
public void add(int index, byte[] s) - Specified by:
addin interfaceList<byte[]>- Overrides:
addin classAbstractList<byte[]>
-
remove
public byte[] remove(int index) - Specified by:
removein interfaceList<byte[]>- Overrides:
removein classAbstractList<byte[]>
-