-
- All Implemented Interfaces:
-
kotlin.collections.Collection,kotlin.collections.Iterable,kotlin.collections.List
public final class ExtensionList<E extends Object, M extends MessageLite> implements List<E>
Implementation for ExtensionList and ExtensionListLite. Like DslList, represents an unmodifiable view of a repeated proto field -- in this case, an extension field -- but supports querying the extension.
-
-
Method Summary
Modifier and Type Method Description final ExtensionLite<M, List<E>>getExtension()IntegergetSize()Iterator<E>iterator()ListIterator<E>listIterator()ListIterator<E>listIterator(Integer index)Booleanequals(Object other)IntegerhashCode()StringtoString()-
Methods inherited from class com.google.protobuf.kotlin.ExtensionList
contains, containsAll, get, indexOf, isEmpty, lastIndexOf, spliterator, subList -
Methods inherited from class kotlin.collections.Collection
forEach -
Methods inherited from class kotlin.collections.List
parallelStream, stream -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getExtension
final ExtensionLite<M, List<E>> getExtension()
-
listIterator
ListIterator<E> listIterator()
-
listIterator
ListIterator<E> listIterator(Integer index)
-
-
-
-