Package-level declarations

Types

Link copied to clipboard
value class KoneArray<out Element>(array: Array<out Element>) : KoneList<Element>

An immutable wrapper for standard Array with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneBooleanArray(array: BooleanArray) : KoneList<Boolean>

An immutable wrapper for standard BooleanArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneByteArray(array: ByteArray) : KoneList<Byte>

An immutable wrapper for standard ByteArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneCharArray(array: CharArray) : KoneList<Char>

An immutable wrapper for standard CharArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneDoubleArray(array: DoubleArray) : KoneList<Double>

An immutable wrapper for standard DoubleArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneFloatArray(array: FloatArray) : KoneList<Float>

An immutable wrapper for standard FloatArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneIntArray(array: IntArray) : KoneList<Int>

An immutable wrapper for standard IntArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneLongArray(array: LongArray) : KoneList<Long>

An immutable wrapper for standard LongArray with unsigned indexation that also implements KoneList.

Link copied to clipboard

A wrapper for standard Array with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard

A wrapper for standard BooleanArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableByteArray(array: ByteArray) : KoneSettableList<Byte>

A wrapper for standard ByteArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableCharArray(array: CharArray) : KoneSettableList<Char>

A wrapper for standard CharArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard

A wrapper for standard DoubleArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableFloatArray(array: FloatArray) : KoneSettableList<Float>

A wrapper for standard FloatArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableIntArray(array: IntArray) : KoneSettableList<Int>

A wrapper for standard IntArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableLongArray(array: LongArray) : KoneSettableList<Long>

A wrapper for standard LongArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableShortArray(array: ShortArray) : KoneSettableList<Short>

A wrapper for standard ShortArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableUByteArray(array: UByteArray) : KoneSettableList<UByte>

A wrapper for standard UByteArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableUIntArray(array: UIntArray) : KoneSettableList<UInt>

A wrapper for standard UIntArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneMutableULongArray(array: ULongArray) : KoneSettableList<ULong>

A wrapper for standard ULongArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard

A wrapper for standard UShortArray with unsigned indexation that also implements KoneSettableList.

Link copied to clipboard
@Serializable
value class KoneShortArray(array: ShortArray) : KoneList<Short>

An immutable wrapper for standard ShortArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneUByteArray(array: UByteArray) : KoneList<UByte>

An immutable wrapper for standard UByteArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneUIntArray(array: UIntArray) : KoneList<UInt>

An immutable wrapper for standard UIntArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneULongArray(array: ULongArray) : KoneList<ULong>

An immutable wrapper for standard ULongArray with unsigned indexation that also implements KoneList.

Link copied to clipboard
@Serializable
value class KoneUShortArray(array: UShortArray) : KoneList<UShort>

An immutable wrapper for standard UShortArray with unsigned indexation that also implements KoneList.

Functions

Link copied to clipboard
Link copied to clipboard
inline fun <Element> KoneArray.Companion.fill(size: UInt, element: Element): KoneArray<Element>
fun KoneCharArray.Companion.fill(indices: UIntRange, element: Char = '\u0000'): KoneCharArray

Returns a KoneBooleanArray of provided size of falses.

Returns a KoneByteArray of provided size of zeros.

fun KoneCharArray.Companion.fill(size: UInt, element: Char = '\u0000'): KoneCharArray

Returns a KoneCharArray of provided size of falses.

Returns a KoneDoubleArray of provided size of zeros.

Returns a KoneFloatArray of provided size of zeros.

fun KoneIntArray.Companion.fill(size: UInt, element: Int = 0): KoneIntArray

Returns a KoneIntArray of provided size of zeros.

Returns a KoneLongArray of provided size of zeros.

Returns a KoneMutableBooleanArray of provided size of falses.

Returns a KoneMutableByteArray of provided size of zeros.

Returns a KoneMutableCharArray of provided size of falses.

Returns a KoneMutableDoubleArray of provided size of zeros.

Returns a KoneMutableFloatArray of provided size of zeros.

Returns a KoneMutableIntArray of provided size of zeros.

Returns a KoneMutableLongArray of provided size of zeros.

Returns a KoneMutableShortArray of provided size of zeros.

Returns a KoneMutableUByteArray of provided size of zeros.

Returns a KoneMutableUIntArray of provided size of zeros.

Returns a KoneMutableULongArray of provided size of zeros.

Returns a KoneMutableUShortArray of provided size of zeros.

Returns a KoneShortArray of provided size of zeros.

Returns a KoneUByteArray of provided size of zeros.

Returns a KoneUIntArray of provided size of zeros.

Returns a KoneULongArray of provided size of zeros.

Returns a KoneUShortArray of provided size of zeros.

Link copied to clipboard
inline fun <Element> KoneArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Element): KoneArray<Element>

Returns a KoneArray of provided size of elements produced by the initializer.

inline fun <Element> KoneArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Element): KoneArray<Element>
inline fun KoneBooleanArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Boolean): KoneBooleanArray
inline fun KoneByteArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Byte): KoneByteArray
inline fun KoneCharArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Char): KoneCharArray
inline fun KoneDoubleArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Double): KoneDoubleArray
inline fun KoneFloatArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Float): KoneFloatArray
inline fun KoneIntArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Int): KoneIntArray
inline fun KoneLongArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Long): KoneLongArray
inline fun <Element> KoneMutableArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Element): KoneMutableArray<Element>
inline fun KoneMutableByteArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Byte): KoneMutableByteArray
inline fun KoneMutableCharArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Char): KoneMutableCharArray
inline fun KoneMutableFloatArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Float): KoneMutableFloatArray
inline fun KoneMutableIntArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Int): KoneMutableIntArray
inline fun KoneMutableLongArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Long): KoneMutableLongArray
inline fun KoneMutableShortArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Short): KoneMutableShortArray
inline fun KoneMutableUByteArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> UByte): KoneMutableUByteArray
inline fun KoneMutableUIntArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> UInt): KoneMutableUIntArray
inline fun KoneMutableULongArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> ULong): KoneMutableULongArray
inline fun KoneShortArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> Short): KoneShortArray
inline fun KoneUByteArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> UByte): KoneUByteArray
inline fun KoneUIntArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> UInt): KoneUIntArray
inline fun KoneULongArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> ULong): KoneULongArray
inline fun KoneUShortArray.Companion.generate(indices: UIntRange, initializer: (index: UInt) -> UShort): KoneUShortArray

inline fun KoneBooleanArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Boolean): KoneBooleanArray

Returns a KoneBooleanArray of provided size of elements produced by the initializer.

inline fun KoneByteArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Byte): KoneByteArray

Returns a KoneByteArray of provided size of elements produced by the initializer.

inline fun KoneCharArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Char): KoneCharArray

Returns a KoneCharArray of provided size of elements produced by the initializer.

inline fun KoneDoubleArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Double): KoneDoubleArray

Returns a KoneDoubleArray of provided size of elements produced by the initializer.

inline fun KoneFloatArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Float): KoneFloatArray

Returns a KoneFloatArray of provided size of elements produced by the initializer.

inline fun KoneIntArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Int): KoneIntArray

Returns a KoneIntArray of provided size of elements produced by the initializer.

inline fun KoneLongArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Long): KoneLongArray

Returns a KoneLongArray of provided size of elements produced by the initializer.

inline fun <Element> KoneMutableArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Element): KoneMutableArray<Element>

Returns a KoneMutableArray of provided size of elements produced by the initializer.

Returns a KoneMutableBooleanArray of provided size of elements produced by the initializer.

inline fun KoneMutableByteArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Byte): KoneMutableByteArray

Returns a KoneMutableByteArray of provided size of elements produced by the initializer.

inline fun KoneMutableCharArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Char): KoneMutableCharArray

Returns a KoneMutableCharArray of provided size of elements produced by the initializer.

Returns a KoneMutableDoubleArray of provided size of elements produced by the initializer.

inline fun KoneMutableFloatArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Float): KoneMutableFloatArray

Returns a KoneMutableFloatArray of provided size of elements produced by the initializer.

inline fun KoneMutableIntArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Int): KoneMutableIntArray

Returns a KoneMutableIntArray of provided size of elements produced by the initializer.

inline fun KoneMutableLongArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Long): KoneMutableLongArray

Returns a KoneMutableLongArray of provided size of elements produced by the initializer.

inline fun KoneMutableShortArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Short): KoneMutableShortArray

Returns a KoneMutableShortArray of provided size of elements produced by the initializer.

inline fun KoneMutableUByteArray.Companion.generate(size: UInt, initializer: (index: UInt) -> UByte): KoneMutableUByteArray

Returns a KoneMutableUByteArray of provided size of elements produced by the initializer.

inline fun KoneMutableUIntArray.Companion.generate(size: UInt, initializer: (index: UInt) -> UInt): KoneMutableUIntArray

Returns a KoneMutableUIntArray of provided size of elements produced by the initializer.

inline fun KoneMutableULongArray.Companion.generate(size: UInt, initializer: (index: UInt) -> ULong): KoneMutableULongArray

Returns a KoneMutableULongArray of provided size of elements produced by the initializer.

Returns a KoneMutableUShortArray of provided size of elements produced by the initializer.

inline fun KoneShortArray.Companion.generate(size: UInt, initializer: (index: UInt) -> Short): KoneShortArray

Returns a KoneShortArray of provided size of elements produced by the initializer.

inline fun KoneUByteArray.Companion.generate(size: UInt, initializer: (index: UInt) -> UByte): KoneUByteArray

Returns a KoneUByteArray of provided size of elements produced by the initializer.

inline fun KoneUIntArray.Companion.generate(size: UInt, initializer: (index: UInt) -> UInt): KoneUIntArray

Returns a KoneUIntArray of provided size of elements produced by the initializer.

inline fun KoneULongArray.Companion.generate(size: UInt, initializer: (index: UInt) -> ULong): KoneULongArray

Returns a KoneULongArray of provided size of elements produced by the initializer.

inline fun KoneUShortArray.Companion.generate(size: UInt, initializer: (index: UInt) -> UShort): KoneUShortArray

Returns a KoneUShortArray of provided size of elements produced by the initializer.

Link copied to clipboard
inline fun <Element> KoneArray.Companion.induce(size: UInt, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneArray<Element>
inline fun <Element> KoneArray.Companion.induce(indices: UIntRange, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneArray<Element>
inline fun KoneBooleanArray.Companion.induce(size: UInt, initialElement: Boolean, inducer: (index: UInt, previous: Boolean) -> Boolean): KoneBooleanArray
inline fun KoneBooleanArray.Companion.induce(indices: UIntRange, initialElement: Boolean, inducer: (index: UInt, previous: Boolean) -> Boolean): KoneBooleanArray
inline fun KoneByteArray.Companion.induce(size: UInt, initialElement: Byte, inducer: (index: UInt, previous: Byte) -> Byte): KoneByteArray
inline fun KoneByteArray.Companion.induce(indices: UIntRange, initialElement: Byte, inducer: (index: UInt, previous: Byte) -> Byte): KoneByteArray
inline fun KoneCharArray.Companion.induce(size: UInt, initialElement: Char, inducer: (index: UInt, previous: Char) -> Char): KoneCharArray
inline fun KoneCharArray.Companion.induce(indices: UIntRange, initialElement: Char, inducer: (index: UInt, previous: Char) -> Char): KoneCharArray
inline fun KoneDoubleArray.Companion.induce(size: UInt, initialElement: Double, inducer: (index: UInt, previous: Double) -> Double): KoneDoubleArray
inline fun KoneDoubleArray.Companion.induce(indices: UIntRange, initialElement: Double, inducer: (index: UInt, previous: Double) -> Double): KoneDoubleArray
inline fun KoneFloatArray.Companion.induce(size: UInt, initialElement: Float, inducer: (index: UInt, previous: Float) -> Float): KoneFloatArray
inline fun KoneFloatArray.Companion.induce(indices: UIntRange, initialElement: Float, inducer: (index: UInt, previous: Float) -> Float): KoneFloatArray
inline fun KoneIntArray.Companion.induce(size: UInt, initialElement: Int, inducer: (index: UInt, previous: Int) -> Int): KoneIntArray
inline fun KoneIntArray.Companion.induce(indices: UIntRange, initialElement: Int, inducer: (index: UInt, previous: Int) -> Int): KoneIntArray
inline fun KoneLongArray.Companion.induce(size: UInt, initialElement: Long, inducer: (index: UInt, previous: Long) -> Long): KoneLongArray
inline fun KoneLongArray.Companion.induce(indices: UIntRange, initialElement: Long, inducer: (index: UInt, previous: Long) -> Long): KoneLongArray
inline fun <Element> KoneMutableArray.Companion.induce(size: UInt, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneMutableArray<Element>
inline fun <Element> KoneMutableArray.Companion.induce(indices: UIntRange, initialElement: Element, inducer: (index: UInt, previous: Element) -> Element): KoneMutableArray<Element>
inline fun KoneMutableBooleanArray.Companion.induce(size: UInt, initialElement: Boolean, inducer: (index: UInt, previous: Boolean) -> Boolean): KoneMutableBooleanArray
inline fun KoneMutableBooleanArray.Companion.induce(indices: UIntRange, initialElement: Boolean, inducer: (index: UInt, previous: Boolean) -> Boolean): KoneMutableBooleanArray
inline fun KoneMutableByteArray.Companion.induce(size: UInt, initialElement: Byte, inducer: (index: UInt, previous: Byte) -> Byte): KoneMutableByteArray
inline fun KoneMutableByteArray.Companion.induce(indices: UIntRange, initialElement: Byte, inducer: (index: UInt, previous: Byte) -> Byte): KoneMutableByteArray
inline fun KoneMutableCharArray.Companion.induce(size: UInt, initialElement: Char, inducer: (index: UInt, previous: Char) -> Char): KoneMutableCharArray
inline fun KoneMutableCharArray.Companion.induce(indices: UIntRange, initialElement: Char, inducer: (index: UInt, previous: Char) -> Char): KoneMutableCharArray
inline fun KoneMutableDoubleArray.Companion.induce(size: UInt, initialElement: Double, inducer: (index: UInt, previous: Double) -> Double): KoneMutableDoubleArray
inline fun KoneMutableDoubleArray.Companion.induce(indices: UIntRange, initialElement: Double, inducer: (index: UInt, previous: Double) -> Double): KoneMutableDoubleArray
inline fun KoneMutableFloatArray.Companion.induce(size: UInt, initialElement: Float, inducer: (index: UInt, previous: Float) -> Float): KoneMutableFloatArray
inline fun KoneMutableFloatArray.Companion.induce(indices: UIntRange, initialElement: Float, inducer: (index: UInt, previous: Float) -> Float): KoneMutableFloatArray
inline fun KoneMutableIntArray.Companion.induce(size: UInt, initialElement: Int, inducer: (index: UInt, previous: Int) -> Int): KoneMutableIntArray
inline fun KoneMutableIntArray.Companion.induce(indices: UIntRange, initialElement: Int, inducer: (index: UInt, previous: Int) -> Int): KoneMutableIntArray
inline fun KoneMutableLongArray.Companion.induce(size: UInt, initialElement: Long, inducer: (index: UInt, previous: Long) -> Long): KoneMutableLongArray
inline fun KoneMutableLongArray.Companion.induce(indices: UIntRange, initialElement: Long, inducer: (index: UInt, previous: Long) -> Long): KoneMutableLongArray
inline fun KoneMutableShortArray.Companion.induce(size: UInt, initialElement: Short, inducer: (index: UInt, previous: Short) -> Short): KoneMutableShortArray
inline fun KoneMutableShortArray.Companion.induce(indices: UIntRange, initialElement: Short, inducer: (index: UInt, previous: Short) -> Short): KoneMutableShortArray
inline fun KoneMutableUByteArray.Companion.induce(size: UInt, initialElement: UByte, inducer: (index: UInt, previous: UByte) -> UByte): KoneMutableUByteArray
inline fun KoneMutableUByteArray.Companion.induce(indices: UIntRange, initialElement: UByte, inducer: (index: UInt, previous: UByte) -> UByte): KoneMutableUByteArray
inline fun KoneMutableUIntArray.Companion.induce(size: UInt, initialElement: UInt, inducer: (index: UInt, previous: UInt) -> UInt): KoneMutableUIntArray
inline fun KoneMutableUIntArray.Companion.induce(indices: UIntRange, initialElement: UInt, inducer: (index: UInt, previous: UInt) -> UInt): KoneMutableUIntArray
inline fun KoneMutableULongArray.Companion.induce(size: UInt, initialElement: ULong, inducer: (index: UInt, previous: ULong) -> ULong): KoneMutableULongArray
inline fun KoneMutableULongArray.Companion.induce(indices: UIntRange, initialElement: ULong, inducer: (index: UInt, previous: ULong) -> ULong): KoneMutableULongArray
inline fun KoneMutableUShortArray.Companion.induce(size: UInt, initialElement: UShort, inducer: (index: UInt, previous: UShort) -> UShort): KoneMutableUShortArray
inline fun KoneMutableUShortArray.Companion.induce(indices: UIntRange, initialElement: UShort, inducer: (index: UInt, previous: UShort) -> UShort): KoneMutableUShortArray
inline fun KoneShortArray.Companion.induce(size: UInt, initialElement: Short, inducer: (index: UInt, previous: Short) -> Short): KoneShortArray
inline fun KoneShortArray.Companion.induce(indices: UIntRange, initialElement: Short, inducer: (index: UInt, previous: Short) -> Short): KoneShortArray
inline fun KoneUByteArray.Companion.induce(size: UInt, initialElement: UByte, inducer: (index: UInt, previous: UByte) -> UByte): KoneUByteArray
inline fun KoneUByteArray.Companion.induce(indices: UIntRange, initialElement: UByte, inducer: (index: UInt, previous: UByte) -> UByte): KoneUByteArray
inline fun KoneUIntArray.Companion.induce(size: UInt, initialElement: UInt, inducer: (index: UInt, previous: UInt) -> UInt): KoneUIntArray
inline fun KoneUIntArray.Companion.induce(indices: UIntRange, initialElement: UInt, inducer: (index: UInt, previous: UInt) -> UInt): KoneUIntArray
inline fun KoneULongArray.Companion.induce(size: UInt, initialElement: ULong, inducer: (index: UInt, previous: ULong) -> ULong): KoneULongArray
inline fun KoneULongArray.Companion.induce(indices: UIntRange, initialElement: ULong, inducer: (index: UInt, previous: ULong) -> ULong): KoneULongArray
inline fun KoneUShortArray.Companion.induce(size: UInt, initialElement: UShort, inducer: (index: UInt, previous: UShort) -> UShort): KoneUShortArray
inline fun KoneUShortArray.Companion.induce(indices: UIntRange, initialElement: UShort, inducer: (index: UInt, previous: UShort) -> UShort): KoneUShortArray
Link copied to clipboard
inline fun <Element> KoneArray.Companion.of(vararg elements: Element): KoneArray<Element>
fun KoneIntArray.Companion.of(vararg elements: Int): KoneIntArray