Provide common Random API

#KT-17261
This commit is contained in:
Ilya Gorbunov
2018-07-03 03:43:34 +03:00
parent 9df411481c
commit cc031e3a40
9 changed files with 415 additions and 0 deletions
@@ -3864,6 +3864,41 @@ public abstract interface class kotlin/properties/ReadWriteProperty {
public abstract fun setValue (Ljava/lang/Object;Lkotlin/reflect/KProperty;Ljava/lang/Object;)V
}
public final class kotlin/random/PlatformRandomKt {
public static final fun asJavaRandom (Lkotlin/random/Random;)Ljava/util/Random;
public static final fun asKotlinRandom (Ljava/util/Random;)Lkotlin/random/Random;
}
public abstract class kotlin/random/Random {
public static final field Companion Lkotlin/random/Random$Companion;
public fun <init> ()V
public abstract fun nextBits (I)I
public fun nextBoolean ()Z
public fun nextBytes (I)[B
public fun nextBytes ([B)[B
public fun nextBytes ([BII)[B
public static synthetic fun nextBytes$default (Lkotlin/random/Random;[BIIILjava/lang/Object;)[B
public fun nextDouble ()D
public fun nextFloat ()F
public fun nextInt ()I
public fun nextInt (I)I
public fun nextInt (II)I
public fun nextInt (Lkotlin/ranges/IntRange;)I
public fun nextLong ()J
public fun nextLong (J)J
public fun nextLong (JJ)J
public fun nextLong (Lkotlin/ranges/LongRange;)J
}
public final class kotlin/random/Random$Companion : kotlin/random/Random {
public fun nextBits (I)I
}
public final class kotlin/random/RandomKt {
public static final fun Random (I)Lkotlin/random/Random;
public static final fun Random (J)Lkotlin/random/Random;
}
public class kotlin/ranges/CharProgression : java/lang/Iterable, kotlin/jvm/internal/markers/KMappedMarker {
public static final field Companion Lkotlin/ranges/CharProgression$Companion;
public fun equals (Ljava/lang/Object;)Z