2021-11-02 06:38:17 +00:00
|
|
|
package d0.c0;
|
2021-08-03 07:33:18 +00:00
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
import d0.z.d.m;
|
2021-08-03 07:33:18 +00:00
|
|
|
import java.util.Random;
|
|
|
|
/* compiled from: PlatformRandom.kt */
|
2022-03-07 09:34:54 +00:00
|
|
|
/* loaded from: classes3.dex */
|
2021-08-03 07:33:18 +00:00
|
|
|
public abstract class a extends c {
|
|
|
|
public abstract Random getImpl();
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.c0.c
|
2021-08-03 07:33:18 +00:00
|
|
|
public int nextBits(int i) {
|
|
|
|
return d.takeUpperBits(getImpl().nextInt(), i);
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.c0.c
|
2021-08-03 07:33:18 +00:00
|
|
|
public byte[] nextBytes(byte[] bArr) {
|
|
|
|
m.checkNotNullParameter(bArr, "array");
|
|
|
|
getImpl().nextBytes(bArr);
|
|
|
|
return bArr;
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.c0.c
|
2021-08-03 07:33:18 +00:00
|
|
|
public int nextInt() {
|
|
|
|
return getImpl().nextInt();
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.c0.c
|
2021-08-03 07:33:18 +00:00
|
|
|
public int nextInt(int i) {
|
|
|
|
return getImpl().nextInt(i);
|
|
|
|
}
|
|
|
|
|
2021-11-02 06:38:17 +00:00
|
|
|
@Override // d0.c0.c
|
2021-08-03 07:33:18 +00:00
|
|
|
public long nextLong() {
|
|
|
|
return getImpl().nextLong();
|
|
|
|
}
|
|
|
|
}
|