PlatformSet

expect class PlatformSet<E>
actual value class PlatformSet<E>
actual typealias PlatformSet<E> = JsSet<E>
actual typealias PlatformSet<E> = LinkedHashSet<E>

Constructors

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

Properties

Link copied to clipboard
expect val <E> PlatformSet<E>.size: Int
actual val <E> PlatformSet<E>.size: Int
Link copied to clipboard
val storage: NSMutableSet

Functions

Link copied to clipboard
expect fun <E> PlatformSet<E>.add(item: E)
actual inline fun <E> PlatformSet<E>.add(item: E)
Link copied to clipboard
Link copied to clipboard
inline fun <E> PlatformSet<E>.asSet(): Set<E>
Link copied to clipboard
expect fun <E> PlatformSet<E>.clear()
actual inline fun <E> PlatformSet<E>.clear()
Link copied to clipboard
expect operator fun <E> PlatformSet<E>.contains(item: E): Boolean
actual inline operator fun <E> PlatformSet<E>.contains(item: E): Boolean
Link copied to clipboard
expect fun <E> PlatformSet<E>.isEmpty(): Boolean
actual inline fun <E> PlatformSet<E>.isEmpty(): Boolean
Link copied to clipboard
inline fun <E> PlatformSet<E>.isNotEmpty(): Boolean
Link copied to clipboard
expect operator fun <E> PlatformSet<E>.iterator(): MutableIterator<E>
actual operator fun <E> PlatformSet<E>.iterator(): MutableIterator<E>
Link copied to clipboard
expect fun <E> PlatformSet<E>.remove(item: E)
actual inline fun <E> PlatformSet<E>.remove(item: E)
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>