//protobuf-kotlin/com.google.protobuf.kotlin/ExtensionList

ExtensionList

[JVM] class ExtensionList<E, M : MessageLite>constructor(extension: ExtensionLite<M, List<E», delegate: List<E>) : 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.

Constructors

NameSummary
ExtensionList[JVM] fun <E, M : MessageLite> ExtensionList(extension: ExtensionLite<M, List<E>>, delegate: List<E>)

Functions

NameSummary
contains[JVM]
Content
open operator override fun contains(element: E): Boolean


containsAll[JVM]
Content
open override fun containsAll(elements: Collection<E>): Boolean


equals[JVM]
Content
open operator override fun equals(other: Any?): Boolean


forEach[JVM]
Content
open fun forEach(p0: Consumer<in E>)


get[JVM]
Content
open operator override fun get(index: Int): E


hashCode[JVM]
Content
open override fun hashCode(): Int


indexOf[JVM]
Content
open override fun indexOf(element: E): Int


isEmpty[JVM]
Content
open override fun isEmpty(): Boolean


iterator[JVM]
Content
open operator override fun iterator(): Iterator<E>


lastIndexOf[JVM]
Content
open override fun lastIndexOf(element: E): Int


listIterator[JVM]
Content
open override fun listIterator(): ListIterator<E>
open override fun listIterator(index: Int): ListIterator<E>


parallelStream[JVM]
Content
open fun parallelStream(): Stream<E>


spliterator[JVM]
Content
open override fun spliterator(): Spliterator<E>


stream[JVM]
Content
open fun stream(): Stream<E>


subList[JVM]
Content
open override fun subList(fromIndex: Int, toIndex: Int): List<E>


toArray[JVM]
Content
open fun <T : Any> toArray(p0: IntFunction<Array<T»)~~~~: Array<T>


toString[JVM]
Content
open override fun toString(): String


Properties

NameSummary
extension[JVM] val extension: ExtensionLite<M, List<E»
size[JVM] open override val size: Int