fun <K, V> arrayMapOf(): ArrayMap<K, V>
Returns an empty new ArrayMap. fun <K, V> arrayMapOf(vararg pairs: Pair<K, V>): ArrayMap<K, V>
Returns a new ArrayMap with the specified contents, given as a list of pairs where the first component is the key and the second component is the value. |
|
fun <T> arraySetOf(): ArraySet<T>
Returns an empty new ArraySet. fun <T> arraySetOf(vararg values: T): ArraySet<T>
Returns a new ArraySet with the specified contents. |
|
infix fun <T : Comparable<T>> T.rangeTo(that: T): Range<T>
Creates a range from this Comparable value to that. |