public static interface Internal.ProtobufList<E> extends List<E>
List
to add the capability to make the list immutable and inspect if it is
modifiable.Modifier and Type | Method and Description |
---|---|
boolean |
isModifiable()
Returns whether this list can be modified via the publicly accessible
List methods. |
void |
makeImmutable()
Makes this list immutable.
|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
void makeImmutable()
UnsupportedOperationException
.boolean isModifiable()
List
methods.Copyright © 2008–2016 Google. All rights reserved.