Package com.google.protobuf
Class LazyStringArrayList.ByteArrayListView
java.lang.Object
java.util.AbstractCollection<byte[]>
java.util.AbstractList<byte[]>
com.google.protobuf.LazyStringArrayList.ByteArrayListView
- All Implemented Interfaces:
Iterable<byte[]>
,Collection<byte[]>
,List<byte[]>
,RandomAccess
,SequencedCollection<byte[]>
- 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, subList
Methods inherited from class java.util.AbstractCollection
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
addAll, addFirst, addLast, contains, containsAll, getFirst, getLast, isEmpty, remove, removeAll, removeFirst, removeLast, replaceAll, retainAll, reversed, sort, spliterator, toArray, toArray
-
Field Details
-
list
-
-
Constructor Details
-
ByteArrayListView
ByteArrayListView(LazyStringArrayList list)
-
-
Method Details
-
get
public byte[] get(int index) - Specified by:
get
in interfaceList<byte[]>
- Specified by:
get
in classAbstractList<byte[]>
-
size
public int size()- Specified by:
size
in interfaceCollection<byte[]>
- Specified by:
size
in interfaceList<byte[]>
- Specified by:
size
in classAbstractCollection<byte[]>
-
set
public byte[] set(int index, byte[] s) - Specified by:
set
in interfaceList<byte[]>
- Overrides:
set
in classAbstractList<byte[]>
-
add
public void add(int index, byte[] s) - Specified by:
add
in interfaceList<byte[]>
- Overrides:
add
in classAbstractList<byte[]>
-
remove
public byte[] remove(int index) - Specified by:
remove
in interfaceList<byte[]>
- Overrides:
remove
in classAbstractList<byte[]>
-