public abstract class org.apache.commons.math3.random.BitsStreamGenerator implements org.apache.commons.math3.random.RandomGenerator, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.commons.math3.random.BitsStreamGenerator
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 20130104
private double nextGaussian;
descriptor: D
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc NaN
putfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
public abstract void setSeed(int);
descriptor: (I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
seed
public abstract void setSeed(int[]);
descriptor: ([I)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
seed
public abstract void setSeed(long);
descriptor: (J)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
seed
protected abstract int next(int);
descriptor: (I)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
bits
public boolean nextBoolean();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_1
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
ifeq 1
iconst_1
ireturn
StackMap locals:
StackMap stack:
1: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
public double nextDouble();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=1
start local 0 0: aload 0
bipush 26
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
bipush 26
lshl
lstore 1
start local 1 1: aload 0
bipush 26
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
istore 3
start local 3 2: lload 1
iload 3
i2l
lor
l2d
ldc 2.220446049250313E-16
dmul
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/BitsStreamGenerator;
1 3 1 high J
2 3 3 low I
public float nextFloat();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 23
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2f
ldc 1.1920929E-7
fmul
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
public double nextGaussian();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=11, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 8
1: aload 0
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.nextDouble:()D
dstore 3
start local 3 2: aload 0
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.nextDouble:()D
dstore 5
start local 5 3: ldc 6.283185307179586
dload 3
dmul
dstore 7
start local 7 4: ldc -2.0
dload 5
invokestatic org.apache.commons.math3.util.FastMath.log:(D)D
dmul
invokestatic org.apache.commons.math3.util.FastMath.sqrt:(D)D
dstore 9
start local 9 5: dload 9
dload 7
invokestatic org.apache.commons.math3.util.FastMath.cos:(D)D
dmul
dstore 1
start local 1 6: aload 0
dload 9
dload 7
invokestatic org.apache.commons.math3.util.FastMath.sin:(D)D
dmul
putfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
end local 9 end local 7 end local 5 end local 3 7: goto 10
end local 1 8: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
dstore 1
start local 1 9: aload 0
ldc NaN
putfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
10: StackMap locals: double
StackMap stack:
dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
6 8 1 random D
9 11 1 random D
2 7 3 x D
3 7 5 y D
4 7 7 alpha D
5 7 9 r D
public int nextInt();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
public int nextInt(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: iload 1
ifle 8
1: iload 1
iload 1
ineg
iand
iload 1
if_icmpne 3
2: iload 1
i2l
aload 0
bipush 31
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
lmul
bipush 31
lshr
l2i
ireturn
3: StackMap locals:
StackMap stack:
aload 0
bipush 31
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
istore 2
start local 2 4: iload 2
iload 1
irem
istore 3
start local 3 5: iload 2
iload 3
isub
iload 1
iconst_1
isub
iadd
6: iflt 3
7: iload 3
ireturn
end local 3 end local 2 8: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.NotStrictlyPositiveException
dup
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
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 9 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
0 9 1 n I
4 8 2 bits I
5 8 3 val I
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
n
public long nextLong();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=1
start local 0 0: aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
bipush 32
lshl
lstore 1
start local 1 1: aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
ldc 4294967295
land
lstore 3
start local 3 2: lload 1
lload 3
lor
lreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
1 3 1 high J
2 3 3 low J
public long nextLong(long);
descriptor: (J)J
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: lload 1
lconst_0
lcmp
ifle 7
1: StackMap locals:
StackMap stack:
aload 0
bipush 31
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
bipush 32
lshl
lstore 3
start local 3 2: lload 3
aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
i2l
ldc 4294967295
land
lor
lstore 3
3: lload 3
lload 1
lrem
lstore 5
start local 5 4: lload 3
lload 5
lsub
lload 1
lconst_1
lsub
ladd
lconst_0
5: lcmp
iflt 1
6: lload 5
lreturn
end local 5 end local 3 7: StackMap locals:
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 8 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
0 8 1 n J
2 7 3 bits J
4 7 5 val J
Exceptions:
throws java.lang.IllegalArgumentException
MethodParameters:
Name Flags
n
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
ldc NaN
putfield org.apache.commons.math3.random.BitsStreamGenerator.nextGaussian:D
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
public void nextBytes(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
arraylength
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.nextBytesFill:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
0 2 1 bytes [B
MethodParameters:
Name Flags
bytes
public void nextBytes(byte[], int, int);
descriptor: ([BII)V
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: iload 2
iflt 2
1: iload 2
aload 1
arraylength
if_icmplt 3
2: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
arraylength
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
3: StackMap locals:
StackMap stack:
iload 3
iflt 5
4: iload 3
aload 1
arraylength
iload 2
isub
if_icmple 6
5: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
iload 3
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aload 1
arraylength
iload 2
isub
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.OutOfRangeException.<init>:(Ljava/lang/Number;Ljava/lang/Number;Ljava/lang/Number;)V
athrow
6: StackMap locals:
StackMap stack:
aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.nextBytesFill:([BII)V
7: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
0 8 1 bytes [B
0 8 2 start I
0 8 3 len I
MethodParameters:
Name Flags
bytes
start
len
private void nextBytesFill(byte[], int, int);
descriptor: ([BII)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iload 2
istore 4
start local 4 1: iload 4
iload 3
ldc 2147483644
iand
iadd
istore 5
start local 5 2: goto 8
3: StackMap locals: int int
StackMap stack:
aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
istore 6
start local 6 4: aload 1
iload 4
iinc 4 1
iload 6
i2b
bastore
5: aload 1
iload 4
iinc 4 1
iload 6
bipush 8
iushr
i2b
bastore
6: aload 1
iload 4
iinc 4 1
iload 6
bipush 16
iushr
i2b
bastore
7: aload 1
iload 4
iinc 4 1
iload 6
bipush 24
iushr
i2b
bastore
end local 6 8: StackMap locals:
StackMap stack:
iload 4
iload 5
if_icmplt 3
9: iload 2
iload 3
iadd
istore 6
start local 6 10: iload 4
iload 6
if_icmpge 16
11: aload 0
bipush 32
invokevirtual org.apache.commons.math3.random.BitsStreamGenerator.next:(I)I
istore 7
start local 7 12: StackMap locals: int int
StackMap stack:
aload 1
iload 4
iinc 4 1
iload 7
i2b
bastore
13: iload 4
iload 6
if_icmpge 16
14: iload 7
bipush 8
iushr
istore 7
15: goto 12
end local 7 16: StackMap locals:
StackMap stack:
return
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 17 0 this Lorg/apache/commons/math3/random/BitsStreamGenerator;
0 17 1 bytes [B
0 17 2 start I
0 17 3 len I
1 17 4 index I
2 17 5 indexLoopLimit I
4 8 6 random I
10 17 6 indexLimit I
12 16 7 random I
MethodParameters:
Name Flags
bytes
start
len
}
SourceFile: "BitsStreamGenerator.java"