94240f7b21
Deprecate specialized unsigned iterators for removal. Fix compiler tests: - drop unsignedLiteralsOn1_2 because apiVersion 1.2 is no longer supported - drop experimental unsigned literals diagnostic test
50 lines
1.9 KiB
Kotlin
50 lines
1.9 KiB
Kotlin
/*
|
|
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
|
|
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
|
|
*/
|
|
|
|
// Auto-generated file. DO NOT EDIT!
|
|
|
|
package kotlin.collections
|
|
|
|
/** An iterator over a sequence of values of type `UByte`. */
|
|
@Deprecated("This class is not going to be stabilized and is to be removed soon.", level = DeprecationLevel.ERROR)
|
|
@SinceKotlin("1.3")
|
|
public abstract class UByteIterator : Iterator<UByte> {
|
|
final override fun next() = nextUByte()
|
|
|
|
/** Returns the next value in the sequence without boxing. */
|
|
public abstract fun nextUByte(): UByte
|
|
}
|
|
|
|
/** An iterator over a sequence of values of type `UShort`. */
|
|
@Deprecated("This class is not going to be stabilized and is to be removed soon.", level = DeprecationLevel.ERROR)
|
|
@SinceKotlin("1.3")
|
|
public abstract class UShortIterator : Iterator<UShort> {
|
|
final override fun next() = nextUShort()
|
|
|
|
/** Returns the next value in the sequence without boxing. */
|
|
public abstract fun nextUShort(): UShort
|
|
}
|
|
|
|
/** An iterator over a sequence of values of type `UInt`. */
|
|
@Deprecated("This class is not going to be stabilized and is to be removed soon.", level = DeprecationLevel.ERROR)
|
|
@SinceKotlin("1.3")
|
|
public abstract class UIntIterator : Iterator<UInt> {
|
|
final override fun next() = nextUInt()
|
|
|
|
/** Returns the next value in the sequence without boxing. */
|
|
public abstract fun nextUInt(): UInt
|
|
}
|
|
|
|
/** An iterator over a sequence of values of type `ULong`. */
|
|
@Deprecated("This class is not going to be stabilized and is to be removed soon.", level = DeprecationLevel.ERROR)
|
|
@SinceKotlin("1.3")
|
|
public abstract class ULongIterator : Iterator<ULong> {
|
|
final override fun next() = nextULong()
|
|
|
|
/** Returns the next value in the sequence without boxing. */
|
|
public abstract fun nextULong(): ULong
|
|
}
|
|
|