ArraySet

class ArraySet<K : Comparable<K>>(data: Array<Any>) : ListBackedSet<K>

An immutable, sorted, array-backed set - if keys are String, they have a special sort order where / is the lowest key.

Constructors

Link copied to clipboard
constructor(data: Array<Any>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val size: Int

Functions

Link copied to clipboard
open operator override fun contains(element: K): Boolean
Link copied to clipboard
open override fun containsAll(elements: Collection<K>): Boolean
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open operator override fun get(index: Int): K
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open operator override fun iterator(): Iterator<K>
Link copied to clipboard
fun plusOrThis(key: K): ArraySet<K>
Link copied to clipboard
open override fun toString(): String