Files
kotlin-fork/core/builtins/native/kotlin/Arrays.kt
T
Alexander Udalov 93696ff9bd Make Array.indices extension property, move to stdlib
This is not something that needs to be intrinsified. Note that compiler
optimizations are still possible and the fact whether 'indices' is a member or
an extension is irrelevant to the optimizer
2014-11-17 15:20:44 +03:00

109 lines
2.6 KiB
Kotlin

/*
* Copyright 2010-2014 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Auto-generated file. DO NOT EDIT!
package kotlin
public class ByteArray(size: Int) : Cloneable {
public fun get(index: Int): Byte
public fun set(index: Int, value: Byte): Unit
public fun size(): Int
public fun iterator(): ByteIterator
public override fun clone(): ByteArray
}
public class CharArray(size: Int) : Cloneable {
public fun get(index: Int): Char
public fun set(index: Int, value: Char): Unit
public fun size(): Int
public fun iterator(): CharIterator
public override fun clone(): CharArray
}
public class ShortArray(size: Int) : Cloneable {
public fun get(index: Int): Short
public fun set(index: Int, value: Short): Unit
public fun size(): Int
public fun iterator(): ShortIterator
public override fun clone(): ShortArray
}
public class IntArray(size: Int) : Cloneable {
public fun get(index: Int): Int
public fun set(index: Int, value: Int): Unit
public fun size(): Int
public fun iterator(): IntIterator
public override fun clone(): IntArray
}
public class LongArray(size: Int) : Cloneable {
public fun get(index: Int): Long
public fun set(index: Int, value: Long): Unit
public fun size(): Int
public fun iterator(): LongIterator
public override fun clone(): LongArray
}
public class FloatArray(size: Int) : Cloneable {
public fun get(index: Int): Float
public fun set(index: Int, value: Float): Unit
public fun size(): Int
public fun iterator(): FloatIterator
public override fun clone(): FloatArray
}
public class DoubleArray(size: Int) : Cloneable {
public fun get(index: Int): Double
public fun set(index: Int, value: Double): Unit
public fun size(): Int
public fun iterator(): DoubleIterator
public override fun clone(): DoubleArray
}
public class BooleanArray(size: Int) : Cloneable {
public fun get(index: Int): Boolean
public fun set(index: Int, value: Boolean): Unit
public fun size(): Int
public fun iterator(): BooleanIterator
public override fun clone(): BooleanArray
}