PlatformList

expect class PlatformList<E>
actual value class PlatformList<E>
actual typealias PlatformList<E> = JsArray<E>
actual typealias PlatformList<E> = ArrayList<E>

Constructors

Link copied to clipboard
expect constructor()
actual constructor()

Properties

Link copied to clipboard
expect val <E> PlatformList<E>.size: Int
actual val <E> PlatformList<E>.size: Int
Link copied to clipboard
val storage: NSMutableArray

Functions

Link copied to clipboard
expect fun <E> PlatformList<E>.add(item: E)
expect fun <E> PlatformList<E>.add(index: Int, item: E)
actual inline fun <E> PlatformList<E>.add(item: E)
actual inline fun <E> PlatformList<E>.add(index: Int, item: E)
Link copied to clipboard
inline fun <E> PlatformList<E>.asList(): List<E>
Link copied to clipboard
Link copied to clipboard
expect fun <E> PlatformList<E>.clear()
actual inline fun <E> PlatformList<E>.clear()
Link copied to clipboard
expect operator fun <E> PlatformList<E>.contains(item: E): Boolean
actual inline operator fun <E> PlatformList<E>.contains(item: E): Boolean
Link copied to clipboard
expect operator fun <E> PlatformList<E>.get(index: Int): E
actual inline operator fun <E> PlatformList<E>.get(index: Int): E
Link copied to clipboard
expect fun <E> PlatformList<E>.indexOf(item: E): Int
actual fun <E> PlatformList<E>.indexOf(item: E): Int
Link copied to clipboard
expect fun <E> PlatformList<E>.isEmpty(): Boolean
actual inline fun <E> PlatformList<E>.isEmpty(): Boolean
Link copied to clipboard
inline fun <E> PlatformList<E>.isNotEmpty(): Boolean
Link copied to clipboard
expect operator fun <E> PlatformList<E>.iterator(): MutableIterator<E>
actual operator fun <E> PlatformList<E>.iterator(): MutableIterator<E>
Link copied to clipboard
expect fun <E> PlatformList<E>.lastIndexOf(item: E): Int
actual fun <E> PlatformList<E>.lastIndexOf(item: E): Int
Link copied to clipboard
expect fun <E> PlatformList<E>.removeAt(index: Int)
actual inline fun <E> PlatformList<E>.removeAt(index: Int)
Link copied to clipboard
expect fun <E> PlatformList<E>.set(index: Int, item: E)
actual inline fun <E> PlatformList<E>.set(index: Int, item: E)
Link copied to clipboard
inline fun <E> PlatformList<E>.toList(): List<E>
Link copied to clipboard