Package-level declarations

Types

Link copied to clipboard
expect class PlatformList<E>
actual value class PlatformList<E>
actual typealias PlatformList<E> = JsArray<E>
actual typealias PlatformList<E> = ArrayList<E>
Link copied to clipboard
expect class PlatformMap<K, V>
actual value class PlatformMap<K, V>
actual typealias PlatformMap<K, V> = JsMap<K, V>
actual typealias PlatformMap<K, V> = LinkedHashMap<K, V>
Link copied to clipboard
expect class PlatformSet<E>
actual value class PlatformSet<E>
actual typealias PlatformSet<E> = JsSet<E>
actual typealias PlatformSet<E> = LinkedHashSet<E>

Properties

Link copied to clipboard
expect val <E> PlatformList<E>.size: Int
expect val <K, V> PlatformMap<K, V>.size: Int
expect val <E> PlatformSet<E>.size: Int
actual val <E> PlatformList<E>.size: Int
actual val <K, V> PlatformMap<K, V>.size: Int
actual val <E> PlatformSet<E>.size: Int

Functions

Link copied to clipboard
expect fun <E> PlatformList<E>.add(item: E)
expect fun <E> PlatformSet<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> PlatformSet<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
inline fun <K, V> PlatformMap<K, V>.asMap(): Map<K, V>
Link copied to clipboard
Link copied to clipboard
expect fun <K, V> PlatformMap<K, V>.asMutableMap(): MutableMap<K, V>
actual fun <K, V> PlatformMap<K, V>.asMutableMap(): MutableMap<K, V>
Link copied to clipboard
Link copied to clipboard
inline fun <E> PlatformSet<E>.asSet(): Set<E>
Link copied to clipboard
expect fun <E> PlatformList<E>.clear()
expect fun <K, V> PlatformMap<K, V>.clear()
expect fun <E> PlatformSet<E>.clear()
actual inline fun <E> PlatformList<E>.clear()
actual inline fun <K, V> PlatformMap<K, V>.clear()
actual inline fun <E> PlatformSet<E>.clear()
Link copied to clipboard
expect operator fun <E> PlatformList<E>.contains(item: E): Boolean
expect operator fun <K, V> PlatformMap<K, V>.contains(key: K): Boolean
expect operator fun <E> PlatformSet<E>.contains(item: E): Boolean
actual inline operator fun <E> PlatformList<E>.contains(item: E): Boolean
actual inline operator fun <K, V> PlatformMap<K, V>.contains(key: K): Boolean
actual inline operator fun <E> PlatformSet<E>.contains(item: E): Boolean
Link copied to clipboard
expect operator fun <E> PlatformList<E>.get(index: Int): E
expect operator fun <K, V> PlatformMap<K, V>.get(key: K): V?
actual inline operator fun <E> PlatformList<E>.get(index: Int): E
actual inline operator fun <K, V> PlatformMap<K, V>.get(key: K): V?
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
expect fun <K, V> PlatformMap<K, V>.isEmpty(): Boolean
expect fun <E> PlatformSet<E>.isEmpty(): Boolean
actual inline fun <E> PlatformList<E>.isEmpty(): Boolean
actual inline fun <K, V> PlatformMap<K, V>.isEmpty(): Boolean
actual inline fun <E> PlatformSet<E>.isEmpty(): Boolean
Link copied to clipboard
inline fun <E> PlatformList<E>.isNotEmpty(): Boolean
inline fun <K, V> PlatformMap<K, V>.isNotEmpty(): Boolean
inline fun <E> PlatformSet<E>.isNotEmpty(): Boolean
Link copied to clipboard
expect operator fun <E> PlatformList<E>.iterator(): MutableIterator<E>
expect operator fun <E> PlatformSet<E>.iterator(): MutableIterator<E>
actual operator fun <E> PlatformList<E>.iterator(): MutableIterator<E>
actual operator fun <E> PlatformSet<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 <K, V> PlatformMap<K, V>.put(key: K, value: V)
actual inline fun <K, V> PlatformMap<K, V>.put(key: K, value: V)
Link copied to clipboard
expect fun <K, V> PlatformMap<K, V>.remove(key: K)
expect fun <E> PlatformSet<E>.remove(item: E)
actual inline fun <K, V> PlatformMap<K, V>.remove(key: K)
actual inline fun <E> PlatformSet<E>.remove(item: E)
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
inline fun <K, V> PlatformMap<K, V>.toMap(): Map<K, V>
Link copied to clipboard
Link copied to clipboard
expect fun <K, V> PlatformMap<K, V>.toMutableMap(): MutableMap<K, V>
actual inline fun <K, V> PlatformMap<K, V>.toMutableMap(): MutableMap<K, V>
Link copied to clipboard
actual inline fun <E> PlatformSet<E>.toMutableSet(): MutableSet<E>
Link copied to clipboard
inline fun <E> PlatformSet<E>.toSet(): Set<E>