//protobuf-kotlin/com.google.protobuf.kotlin/DslList

DslList

[JVM] class DslList<E, P : DslProxy>constructor(delegate: List<E>) : List<E>

A simple wrapper around a List with an extra generic parameter that can be used to disambiguate extension methods.

This class is used by Kotlin protocol buffer extensions, and its constructor is public only because generated message code is in a different compilation unit. Others should not use this class directly in any way.

Constructors

NameSummary
DslList[JVM] fun <E> DslList(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
size[JVM] open override val size: Int