Package com.google.protobuf
Class RepeatedFieldBuilderV3.MessageOrBuilderExternalList<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractList<IType>
com.google.protobuf.RepeatedFieldBuilderV3.MessageOrBuilderExternalList<MType,BType,IType>
- Type Parameters:
MType- the type of message for the fieldBType- the type of builder for the fieldIType- the common interface for the message and the builder
- All Implemented Interfaces:
Iterable<IType>,Collection<IType>,List<IType>,RandomAccess
- Enclosing class:
- RepeatedFieldBuilderV3<MType extends AbstractMessage,
BType extends AbstractMessage.Builder, IType extends MessageOrBuilder>
private static class RepeatedFieldBuilderV3.MessageOrBuilderExternalList<MType extends AbstractMessage,BType extends AbstractMessage.Builder,IType extends MessageOrBuilder>
extends AbstractList<IType>
implements List<IType>, RandomAccess
Provides a live view of the builder as a list of builders.
-
Field Summary
FieldsFields inherited from class java.util.AbstractList
modCount -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Methods inherited from class java.util.AbstractList
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, 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
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
-
Field Details
-
builder
RepeatedFieldBuilderV3<MType extends AbstractMessage,BType extends AbstractMessage.Builder, builderIType extends MessageOrBuilder>
-
-
Constructor Details
-
MessageOrBuilderExternalList
MessageOrBuilderExternalList(RepeatedFieldBuilderV3<MType, BType, IType> builder)
-
-
Method Details
-
size
public int size()- Specified by:
sizein interfaceCollection<MType extends AbstractMessage>- Specified by:
sizein interfaceList<MType extends AbstractMessage>- Specified by:
sizein classAbstractCollection<IType extends MessageOrBuilder>
-
get
- Specified by:
getin interfaceList<MType extends AbstractMessage>- Specified by:
getin classAbstractList<IType extends MessageOrBuilder>
-
incrementModCount
void incrementModCount()
-