public class org.apache.commons.math3.random.RandomDataGenerator implements org.apache.commons.math3.random.RandomData, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.random.RandomDataGenerator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -626730818244969716
private org.apache.commons.math3.random.RandomGenerator rand;
descriptor: Lorg/apache/commons/math3/random/RandomGenerator;
flags: (0x0002) ACC_PRIVATE
private org.apache.commons.math3.random.RandomGenerator secRand;
descriptor: Lorg/apache/commons/math3/random/RandomGenerator;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
2: aload 0
aconst_null
putfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
public void <init>(org.apache.commons.math3.random.RandomGenerator);
descriptor: (Lorg/apache/commons/math3/random/RandomGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
2: aload 0
aconst_null
putfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
3: aload 0
aload 1
putfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
4: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 rand Lorg/apache/commons/math3/random/RandomGenerator;
MethodParameters:
Name Flags
rand
public java.lang.String nextHexString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: iload 1
ifgt 2
1: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.LENGTH:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
astore 2
start local 2 3: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 3
start local 3 4: iload 1
iconst_2
idiv
iconst_1
iadd
newarray 8
astore 4
start local 4 5: aload 2
aload 4
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextBytes:([B)V
6: iconst_0
istore 5
start local 5 7: goto 14
8: StackMap locals: org.apache.commons.math3.random.RandomDataGenerator int org.apache.commons.math3.random.RandomGenerator java.lang.StringBuilder byte[] int
StackMap stack:
aload 4
iload 5
baload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 6
start local 6 9: aload 6
invokevirtual java.lang.Integer.intValue:()I
sipush 128
iadd
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 7
start local 7 10: aload 7
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 12
11: new java.lang.StringBuilder
dup
ldc "0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 7
12: StackMap locals: java.lang.Integer java.lang.String
StackMap stack:
aload 3
aload 7
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 7 end local 6 13: iinc 5 1
StackMap locals:
StackMap stack:
14: iload 5
aload 4
arraylength
if_icmplt 8
end local 5 15: aload 3
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 16 1 len I
3 16 2 ran Lorg/apache/commons/math3/random/RandomGenerator;
4 16 3 outBuffer Ljava/lang/StringBuilder;
5 16 4 randomBytes [B
7 15 5 i I
9 13 6 c Ljava/lang/Integer;
10 13 7 hex Ljava/lang/String;
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
len
public int nextInt(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.math3.distribution.UniformIntegerDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
iload 2
invokespecial org.apache.commons.math3.distribution.UniformIntegerDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;II)V
invokevirtual org.apache.commons.math3.distribution.UniformIntegerDistribution.sample:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 lower I
0 1 2 upper I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
lower final
upper final
public long nextLong(long, long);
descriptor: (JJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
lcmp
iflt 4
1: new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
2: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
iconst_0
3: invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
4: StackMap locals:
StackMap stack:
lload 3
lload 1
lsub
lconst_1
ladd
lstore 5
start local 5 5: lload 5
lconst_0
lcmp
ifgt 10
6: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
astore 7
start local 7 7: StackMap locals: long org.apache.commons.math3.random.RandomGenerator
StackMap stack:
aload 7
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextLong:()J
lstore 8
start local 8 8: lload 8
lload 1
lcmp
iflt 7
lload 8
lload 3
lcmp
ifgt 7
9: lload 8
lreturn
end local 8 end local 7 10: StackMap locals:
StackMap stack:
lload 5
ldc 2147483647
lcmp
ifge 12
11: lload 1
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
lload 5
l2i
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextInt:(I)I
i2l
ladd
lreturn
12: StackMap locals:
StackMap stack:
lload 1
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
lload 5
invokestatic org.apache.commons.math3.random.RandomDataGenerator.nextLong:(Lorg/apache/commons/math3/random/RandomGenerator;J)J
ladd
lreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 13 1 lower J
0 13 3 upper J
5 13 5 max J
7 10 7 rng Lorg/apache/commons/math3/random/RandomGenerator;
8 10 8 r J
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
lower final
upper final
private static long nextLong(org.apache.commons.math3.random.RandomGenerator, long);
descriptor: (Lorg/apache/commons/math3/random/RandomGenerator;J)J
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=6, locals=12, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifle 14
1: bipush 8
newarray 8
astore 3
start local 3 2: StackMap locals: byte[]
StackMap stack:
aload 0
aload 3
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextBytes:([B)V
3: lconst_0
lstore 4
start local 4 4: aload 3
dup
astore 11
arraylength
istore 10
iconst_0
istore 9
goto 8
StackMap locals: org.apache.commons.math3.random.RandomGenerator long byte[] long top top top int int byte[]
StackMap stack:
5: aload 11
iload 9
baload
istore 8
start local 8 6: lload 4
bipush 8
lshl
iload 8
i2l
ldc 255
land
lor
lstore 4
end local 8 7: iinc 9 1
StackMap locals:
StackMap stack:
8: iload 9
iload 10
if_icmplt 5
9: lload 4
ldc 9223372036854775807
land
lstore 4
10: lload 4
lload 1
lrem
lstore 6
start local 6 11: lload 4
lload 6
lsub
lload 1
lconst_1
lsub
ladd
lconst_0
12: lcmp
iflt 2
13: lload 6
lreturn
end local 6 end local 4 end local 3 14: StackMap locals: org.apache.commons.math3.random.RandomGenerator long
StackMap stack:
new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Ljava/lang/Number;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 rng Lorg/apache/commons/math3/random/RandomGenerator;
0 15 1 n J
2 14 3 byteArray [B
4 14 4 bits J
11 14 6 val J
6 7 8 b B
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
rng final
n final
public java.lang.String nextSecureHexString(int);
descriptor: (I)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=12, args_size=2
start local 0 start local 1 0: iload 1
ifgt 2
1: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.LENGTH:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getSecRan:()Lorg/apache/commons/math3/random/RandomGenerator;
astore 2
start local 2 3: aconst_null
astore 3
start local 3 4: ldc "SHA-1"
invokestatic java.security.MessageDigest.getInstance:(Ljava/lang/String;)Ljava/security/MessageDigest;
astore 3
5: goto 8
StackMap locals: org.apache.commons.math3.random.RandomDataGenerator int org.apache.commons.math3.random.RandomGenerator java.security.MessageDigest
StackMap stack: java.security.NoSuchAlgorithmException
6: astore 4
start local 4 7: new org.apache.commons.math3.exception.MathInternalError
dup
aload 4
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:(Ljava/lang/Throwable;)V
athrow
end local 4 8: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.security.MessageDigest.reset:()V
9: iload 1
bipush 40
idiv
iconst_1
iadd
istore 4
start local 4 10: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 5
start local 5 11: iconst_1
istore 6
start local 6 12: goto 27
13: StackMap locals: int java.lang.StringBuilder int
StackMap stack:
bipush 40
newarray 8
astore 7
start local 7 14: aload 2
aload 7
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextBytes:([B)V
15: aload 3
aload 7
invokevirtual java.security.MessageDigest.update:([B)V
16: aload 3
invokevirtual java.security.MessageDigest.digest:()[B
astore 8
start local 8 17: iconst_0
istore 9
start local 9 18: goto 25
19: StackMap locals: byte[] byte[] int
StackMap stack:
aload 8
iload 9
baload
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
astore 10
start local 10 20: aload 10
invokevirtual java.lang.Integer.intValue:()I
sipush 128
iadd
invokestatic java.lang.Integer.toHexString:(I)Ljava/lang/String;
astore 11
start local 11 21: aload 11
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpne 23
22: new java.lang.StringBuilder
dup
ldc "0"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
astore 11
23: StackMap locals: java.lang.Integer java.lang.String
StackMap stack:
aload 5
aload 11
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
end local 11 end local 10 24: iinc 9 1
StackMap locals:
StackMap stack:
25: iload 9
aload 8
arraylength
if_icmplt 19
end local 9 end local 8 end local 7 26: iinc 6 1
StackMap locals:
StackMap stack:
27: iload 6
iload 4
iconst_1
iadd
if_icmplt 13
end local 6 28: aload 5
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_0
iload 1
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 29 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 29 1 len I
3 29 2 secRan Lorg/apache/commons/math3/random/RandomGenerator;
4 29 3 alg Ljava/security/MessageDigest;
7 8 4 ex Ljava/security/NoSuchAlgorithmException;
10 29 4 numIter I
11 29 5 outBuffer Ljava/lang/StringBuilder;
12 28 6 iter I
14 26 7 randomBytes [B
17 26 8 hash [B
18 26 9 i I
20 24 10 c Ljava/lang/Integer;
21 24 11 hex Ljava/lang/String;
Exception table:
from to target type
4 5 6 Class java.security.NoSuchAlgorithmException
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
len
public int nextSecureInt(int, int);
descriptor: (II)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.math3.distribution.UniformIntegerDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getSecRan:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
iload 2
invokespecial org.apache.commons.math3.distribution.UniformIntegerDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;II)V
invokevirtual org.apache.commons.math3.distribution.UniformIntegerDistribution.sample:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 lower I
0 1 2 upper I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
lower final
upper final
public long nextSecureLong(long, long);
descriptor: (JJ)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=3
start local 0 start local 1 start local 3 0: lload 1
lload 3
lcmp
iflt 4
1: new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
2: lload 1
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
lload 3
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
iconst_0
3: invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getSecRan:()Lorg/apache/commons/math3/random/RandomGenerator;
astore 5
start local 5 5: lload 3
lload 1
lsub
lconst_1
ladd
lstore 6
start local 6 6: lload 6
lconst_0
lcmp
ifgt 10
7: StackMap locals: org.apache.commons.math3.random.RandomGenerator long
StackMap stack:
aload 5
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextLong:()J
lstore 8
start local 8 8: lload 8
lload 1
lcmp
iflt 7
lload 8
lload 3
lcmp
ifgt 7
9: lload 8
lreturn
end local 8 10: StackMap locals:
StackMap stack:
lload 6
ldc 2147483647
lcmp
ifge 12
11: lload 1
aload 5
lload 6
l2i
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextInt:(I)I
i2l
ladd
lreturn
12: StackMap locals:
StackMap stack:
lload 1
aload 5
lload 6
invokestatic org.apache.commons.math3.random.RandomDataGenerator.nextLong:(Lorg/apache/commons/math3/random/RandomGenerator;J)J
ladd
lreturn
end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 13 1 lower J
0 13 3 upper J
5 13 5 rng Lorg/apache/commons/math3/random/RandomGenerator;
6 13 6 max J
8 10 8 r J
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
lower final
upper final
public long nextPoisson(double);
descriptor: (D)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.distribution.PoissonDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
1: ldc 1.0E-12
2: ldc 10000000
3: invokespecial org.apache.commons.math3.distribution.PoissonDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDI)V
4: invokevirtual org.apache.commons.math3.distribution.PoissonDistribution.sample:()I
i2l
5: lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 6 1 mean D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
mean
public double nextGaussian(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 3 0: dload 3
dconst_0
dcmpg
ifgt 2
1: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.STANDARD_DEVIATION:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
2: StackMap locals:
StackMap stack:
dload 3
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextGaussian:()D
dmul
dload 1
dadd
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 3 1 mu D
0 3 3 sigma D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
mu
sigma
public double nextExponential(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.distribution.ExponentialDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.ExponentialDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DD)V
3: invokevirtual org.apache.commons.math3.distribution.ExponentialDistribution.sample:()D
4: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 mean D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
mean
public double nextGamma(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.commons.math3.distribution.GammaDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
dload 3
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.GammaDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
3: invokevirtual org.apache.commons.math3.distribution.GammaDistribution.sample:()D
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 shape D
0 5 3 scale D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
shape
scale
public int nextHypergeometric(int, int, int);
descriptor: (III)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new org.apache.commons.math3.distribution.HypergeometricDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
1: iload 2
iload 3
2: invokespecial org.apache.commons.math3.distribution.HypergeometricDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;III)V
3: invokevirtual org.apache.commons.math3.distribution.HypergeometricDistribution.sample:()I
4: ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 populationSize I
0 5 2 numberOfSuccesses I
0 5 3 sampleSize I
Exceptions:
throws org.apache.commons.math3.exception.NotPositiveException, org.apache.commons.math3.exception.NotStrictlyPositiveException, org.apache.commons.math3.exception.NumberIsTooLargeException
MethodParameters:
Name Flags
populationSize
numberOfSuccesses
sampleSize
public int nextPascal(int, double);
descriptor: (ID)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.math3.distribution.PascalDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
dload 2
invokespecial org.apache.commons.math3.distribution.PascalDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;ID)V
invokevirtual org.apache.commons.math3.distribution.PascalDistribution.sample:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 r I
0 1 2 p D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException, org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
r
p
public double nextT(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.distribution.TDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.TDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DD)V
3: invokevirtual org.apache.commons.math3.distribution.TDistribution.sample:()D
4: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 df D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
df
public double nextWeibull(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.commons.math3.distribution.WeibullDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
dload 3
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.WeibullDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
3: invokevirtual org.apache.commons.math3.distribution.WeibullDistribution.sample:()D
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 shape D
0 5 3 scale D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
shape
scale
public int nextZipf(int, double);
descriptor: (ID)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.math3.distribution.ZipfDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
dload 2
invokespecial org.apache.commons.math3.distribution.ZipfDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;ID)V
invokevirtual org.apache.commons.math3.distribution.ZipfDistribution.sample:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 numberOfElements I
0 1 2 exponent D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
numberOfElements
exponent
public double nextBeta(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.commons.math3.distribution.BetaDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
dload 3
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.BetaDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
3: invokevirtual org.apache.commons.math3.distribution.BetaDistribution.sample:()D
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 alpha D
0 5 3 beta D
MethodParameters:
Name Flags
alpha
beta
public int nextBinomial(int, double);
descriptor: (ID)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.commons.math3.distribution.BinomialDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
iload 1
dload 2
invokespecial org.apache.commons.math3.distribution.BinomialDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;ID)V
invokevirtual org.apache.commons.math3.distribution.BinomialDistribution.sample:()I
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 numberOfTrials I
0 1 2 probabilityOfSuccess D
MethodParameters:
Name Flags
numberOfTrials
probabilityOfSuccess
public double nextCauchy(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.commons.math3.distribution.CauchyDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
dload 3
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.CauchyDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
3: invokevirtual org.apache.commons.math3.distribution.CauchyDistribution.sample:()D
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 median D
0 5 3 scale D
MethodParameters:
Name Flags
median
scale
public double nextChiSquare(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.distribution.ChiSquaredDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.ChiSquaredDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DD)V
3: invokevirtual org.apache.commons.math3.distribution.ChiSquaredDistribution.sample:()D
4: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 df D
MethodParameters:
Name Flags
df
public double nextF(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=5, args_size=3
start local 0 start local 1 start local 3 0: new org.apache.commons.math3.distribution.FDistribution
dup
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
dload 1
dload 3
1: ldc 1.0E-9
2: invokespecial org.apache.commons.math3.distribution.FDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
3: invokevirtual org.apache.commons.math3.distribution.FDistribution.sample:()D
4: dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 5 1 numeratorDf D
0 5 3 denominatorDf D
Exceptions:
throws org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
numeratorDf
denominatorDf
public double nextUniform(double, double);
descriptor: (DD)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=3
start local 0 start local 1 start local 3 0: aload 0
dload 1
dload 3
iconst_0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.nextUniform:(DDZ)D
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 1 1 lower D
0 1 3 upper D
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException, org.apache.commons.math3.exception.NotFiniteNumberException, org.apache.commons.math3.exception.NotANumberException
MethodParameters:
Name Flags
lower
upper
public double nextUniform(double, double, boolean);
descriptor: (DDZ)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=9, args_size=4
start local 0 start local 1 start local 3 start local 5 0: dload 1
dload 3
dcmpl
iflt 4
1: new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.LOWER_BOUND_NOT_BELOW_UPPER_BOUND:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
2: dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
3: invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
4: StackMap locals:
StackMap stack:
dload 1
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 6
5: new org.apache.commons.math3.exception.NotFiniteNumberException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.INFINITE_BOUND:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.NotFiniteNumberException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;[Ljava/lang/Object;)V
athrow
6: StackMap locals:
StackMap stack:
dload 3
invokestatic java.lang.Double.isInfinite:(D)Z
ifeq 8
7: new org.apache.commons.math3.exception.NotFiniteNumberException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.INFINITE_BOUND:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
dload 3
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.NotFiniteNumberException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;[Ljava/lang/Object;)V
athrow
8: StackMap locals:
StackMap stack:
dload 1
invokestatic java.lang.Double.isNaN:(D)Z
ifne 9
dload 3
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 10
9: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.NotANumberException
dup
invokespecial org.apache.commons.math3.exception.NotANumberException.<init>:()V
athrow
10: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
astore 6
start local 6 11: aload 6
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextDouble:()D
dstore 7
start local 7 12: goto 14
13: StackMap locals: org.apache.commons.math3.random.RandomGenerator double
StackMap stack:
aload 6
invokeinterface org.apache.commons.math3.random.RandomGenerator.nextDouble:()D
dstore 7
14: StackMap locals:
StackMap stack:
iload 5
ifne 15
dload 7
dconst_0
dcmpg
ifle 13
15: StackMap locals:
StackMap stack:
dload 7
dload 3
dmul
dconst_1
dload 7
dsub
dload 1
dmul
dadd
dreturn
end local 7 end local 6 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 16 1 lower D
0 16 3 upper D
0 16 5 lowerInclusive Z
11 16 6 generator Lorg/apache/commons/math3/random/RandomGenerator;
12 16 7 u D
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException, org.apache.commons.math3.exception.NotFiniteNumberException, org.apache.commons.math3.exception.NotANumberException
MethodParameters:
Name Flags
lower
upper
lowerInclusive
public int[] nextPermutation(int, int);
descriptor: (II)[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: iload 2
iload 1
if_icmple 4
1: new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.PERMUTATION_EXCEEDS_N:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
2: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
3: invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
4: StackMap locals:
StackMap stack:
iload 2
ifgt 8
5: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.PERMUTATION_SIZE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
6: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
7: invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
8: StackMap locals:
StackMap stack:
iload 1
invokestatic org.apache.commons.math3.util.MathArrays.natural:(I)[I
astore 3
start local 3 9: aload 3
aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
invokestatic org.apache.commons.math3.util.MathArrays.shuffle:([ILorg/apache/commons/math3/random/RandomGenerator;)V
10: aload 3
iload 2
invokestatic org.apache.commons.math3.util.MathArrays.copyOf:([II)[I
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 11 1 n I
0 11 2 k I
9 11 3 index [I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException, org.apache.commons.math3.exception.NotStrictlyPositiveException
MethodParameters:
Name Flags
n
k
public [] nextSample(java.util.Collection<?>, int);
descriptor: (Ljava/util/Collection;I)[Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokeinterface java.util.Collection.size:()I
istore 3
start local 3 1: iload 2
iload 3
if_icmple 5
2: new org.apache.commons.math3.exception.NumberIsTooLargeException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.SAMPLE_SIZE_EXCEEDS_COLLECTION_SIZE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
3: iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
4: invokespecial org.apache.commons.math3.exception.NumberIsTooLargeException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;Ljava/lang/Number;Z)V
athrow
5: StackMap locals: int
StackMap stack:
iload 2
ifgt 7
6: new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.NUMBER_OF_SAMPLES:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.NotStrictlyPositiveException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;Ljava/lang/Number;)V
athrow
7: StackMap locals:
StackMap stack:
aload 1
invokeinterface java.util.Collection.toArray:()[Ljava/lang/Object;
astore 4
start local 4 8: aload 0
iload 3
iload 2
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.nextPermutation:(II)[I
astore 5
start local 5 9: iload 2
anewarray java.lang.Object
astore 6
start local 6 10: iconst_0
istore 7
start local 7 11: goto 14
12: StackMap locals: org.apache.commons.math3.random.RandomDataGenerator java.util.Collection int int java.lang.Object[] int[] java.lang.Object[] int
StackMap stack:
aload 6
iload 7
aload 4
aload 5
iload 7
iaload
aaload
aastore
13: iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
iload 2
if_icmplt 12
end local 7 15: aload 6
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 16 1 c Ljava/util/Collection<*>;
0 16 2 k I
1 16 3 len I
8 16 4 objects [Ljava/lang/Object;
9 16 5 index [I
10 16 6 result [Ljava/lang/Object;
11 15 7 i I
Exceptions:
throws org.apache.commons.math3.exception.NumberIsTooLargeException, org.apache.commons.math3.exception.NotStrictlyPositiveException
Signature: (Ljava/util/Collection<*>;I)[Ljava/lang/Object;
MethodParameters:
Name Flags
c
k
public void reSeed(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
lload 1
invokeinterface org.apache.commons.math3.random.RandomGenerator.setSeed:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 2 1 seed J
MethodParameters:
Name Flags
seed
public void reSeedSecure();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getSecRan:()Lorg/apache/commons/math3/random/RandomGenerator;
invokestatic java.lang.System.currentTimeMillis:()J
invokeinterface org.apache.commons.math3.random.RandomGenerator.setSeed:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
public void reSeedSecure(long);
descriptor: (J)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getSecRan:()Lorg/apache/commons/math3/random/RandomGenerator;
lload 1
invokeinterface org.apache.commons.math3.random.RandomGenerator.setSeed:(J)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 2 1 seed J
MethodParameters:
Name Flags
seed
public void reSeed();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
i2l
ladd
invokeinterface org.apache.commons.math3.random.RandomGenerator.setSeed:(J)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
public void setSecureAlgorithm(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic java.security.SecureRandom.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/SecureRandom;
invokestatic org.apache.commons.math3.random.RandomGeneratorFactory.createRandomGenerator:(Ljava/util/Random;)Lorg/apache/commons/math3/random/RandomGenerator;
putfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
0 2 1 algorithm Ljava/lang/String;
0 2 2 provider Ljava/lang/String;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException
MethodParameters:
Name Flags
algorithm
provider
public org.apache.commons.math3.random.RandomGenerator getRandomGenerator();
descriptor: ()Lorg/apache/commons/math3/random/RandomGenerator;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
ifnonnull 2
1: aload 0
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.initRan:()V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
private void initRan();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=1, args_size=1
start local 0 0: aload 0
new org.apache.commons.math3.random.Well19937c
dup
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
i2l
ladd
invokespecial org.apache.commons.math3.random.Well19937c.<init>:(J)V
putfield org.apache.commons.math3.random.RandomDataGenerator.rand:Lorg/apache/commons/math3/random/RandomGenerator;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
private org.apache.commons.math3.random.RandomGenerator getSecRan();
descriptor: ()Lorg/apache/commons/math3/random/RandomGenerator;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
ifnonnull 3
1: aload 0
new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
invokestatic org.apache.commons.math3.random.RandomGeneratorFactory.createRandomGenerator:(Ljava/util/Random;)Lorg/apache/commons/math3/random/RandomGenerator;
putfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
2: aload 0
getfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
invokestatic java.lang.System.currentTimeMillis:()J
aload 0
invokestatic java.lang.System.identityHashCode:(Ljava/lang/Object;)I
i2l
ladd
invokeinterface org.apache.commons.math3.random.RandomGenerator.setSeed:(J)V
3: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.random.RandomDataGenerator.secRand:Lorg/apache/commons/math3/random/RandomGenerator;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/random/RandomDataGenerator;
}
SourceFile: "RandomDataGenerator.java"