DslList

//protobuf-kotlin/com.google.protobuf.kotlin/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

DslList [JVM] fun <E> DslList(delegate: List<E>)

Functions

Name Summary
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)


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>


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


Properties

Name Summary
size [JVM] open override val size: Int