public class org.apache.commons.math3.random.EmpiricalDistribution extends org.apache.commons.math3.distribution.AbstractRealDistribution
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.random.EmpiricalDistribution
super_class: org.apache.commons.math3.distribution.AbstractRealDistribution
{
public static final int DEFAULT_BIN_COUNT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1000
private static final java.lang.String FILE_CHARSET;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "US-ASCII"
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 5729073523949762654
protected final org.apache.commons.math3.random.RandomDataGenerator randomData;
descriptor: Lorg/apache/commons/math3/random/RandomDataGenerator;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
private final java.util.List<org.apache.commons.math3.stat.descriptive.SummaryStatistics> binStats;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;>;
private org.apache.commons.math3.stat.descriptive.SummaryStatistics sampleStats;
descriptor: Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
flags: (0x0002) ACC_PRIVATE
private double max;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double min;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private double delta;
descriptor: D
flags: (0x0002) ACC_PRIVATE
private final int binCount;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private boolean loaded;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private double[] upperBounds;
descriptor: [D
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
sipush 1000
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
new org.apache.commons.math3.random.RandomDataGenerator
dup
invokespecial org.apache.commons.math3.random.RandomDataGenerator.<init>:()V
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(ILorg/apache/commons/math3/random/RandomDataGenerator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 2 1 binCount I
MethodParameters:
Name Flags
binCount
public void <init>(int, org.apache.commons.math3.random.RandomGenerator);
descriptor: (ILorg/apache/commons/math3/random/RandomGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
iload 1
new org.apache.commons.math3.random.RandomDataGenerator
dup
aload 2
invokespecial org.apache.commons.math3.random.RandomDataGenerator.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;)V
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(ILorg/apache/commons/math3/random/RandomDataGenerator;)V
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/EmpiricalDistribution;
0 2 1 binCount I
0 2 2 generator Lorg/apache/commons/math3/random/RandomGenerator;
MethodParameters:
Name Flags
binCount
generator
public void <init>(org.apache.commons.math3.random.RandomGenerator);
descriptor: (Lorg/apache/commons/math3/random/RandomGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
sipush 1000
aload 1
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(ILorg/apache/commons/math3/random/RandomGenerator;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 2 1 generator Lorg/apache/commons/math3/random/RandomGenerator;
MethodParameters:
Name Flags
generator
public void <init>(int, org.apache.commons.math3.random.RandomDataImpl);
descriptor: (ILorg/apache/commons/math3/random/RandomDataImpl;)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
iload 1
aload 2
invokevirtual org.apache.commons.math3.random.RandomDataImpl.getDelegate:()Lorg/apache/commons/math3/random/RandomDataGenerator;
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(ILorg/apache/commons/math3/random/RandomDataGenerator;)V
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/EmpiricalDistribution;
0 2 1 binCount I
0 2 2 randomData Lorg/apache/commons/math3/random/RandomDataImpl;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
binCount
randomData
public void <init>(org.apache.commons.math3.random.RandomDataImpl);
descriptor: (Lorg/apache/commons/math3/random/RandomDataImpl;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
sipush 1000
aload 1
invokespecial org.apache.commons.math3.random.EmpiricalDistribution.<init>:(ILorg/apache/commons/math3/random/RandomDataImpl;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 2 1 randomData Lorg/apache/commons/math3/random/RandomDataImpl;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
randomData
private void <init>(int, org.apache.commons.math3.random.RandomDataGenerator);
descriptor: (ILorg/apache/commons/math3/random/RandomDataGenerator;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 2
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
invokespecial org.apache.commons.math3.distribution.AbstractRealDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;)V
1: aload 0
aconst_null
putfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
2: aload 0
ldc -Infinity
putfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
3: aload 0
ldc Infinity
putfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
4: aload 0
dconst_0
putfield org.apache.commons.math3.random.EmpiricalDistribution.delta:D
5: aload 0
iconst_0
putfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
6: aload 0
aconst_null
putfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
7: iload 1
ifgt 9
8: 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
9: StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution int org.apache.commons.math3.random.RandomDataGenerator
StackMap stack:
aload 0
iload 1
putfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
10: aload 0
aload 2
putfield org.apache.commons.math3.random.EmpiricalDistribution.randomData:Lorg/apache/commons/math3/random/RandomDataGenerator;
11: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
12: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 13 1 binCount I
0 13 2 randomData Lorg/apache/commons/math3/random/RandomDataGenerator;
MethodParameters:
Name Flags
binCount
randomData
public void load(double[]);
descriptor: ([D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: new org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter
dup
aload 0
aload 1
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;[D)V
astore 2
start local 2 1: aload 2
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter.computeStats:()V
2: aload 0
new org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter
dup
aload 0
aload 1
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;[D)V
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.fillBinStats:(Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;)V
3: goto 6
StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution double[] org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter
StackMap stack: java.io.IOException
4: pop
5: new org.apache.commons.math3.exception.MathInternalError
dup
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:()V
athrow
6: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
7: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 8 1 in [D
1 8 2 da Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;
Exception table:
from to target type
1 3 4 Class java.io.IOException
Exceptions:
throws org.apache.commons.math3.exception.NullArgumentException
MethodParameters:
Name Flags
in
public void load(java.net.URL);
descriptor: (Ljava/net/URL;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=6, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.commons.math3.util.MathUtils.checkNotNull:(Ljava/lang/Object;)V
1: ldc "US-ASCII"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 2
start local 2 2: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
3: astore 3
start local 3 4: new org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter
dup
aload 0
aload 3
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;Ljava/io/BufferedReader;)V
astore 4
start local 4 5: aload 4
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter.computeStats:()V
6: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
lconst_0
lcmp
ifne 8
7: new org.apache.commons.math3.exception.ZeroException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.URL_CONTAINS_NO_DATA:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 1
aastore
invokespecial org.apache.commons.math3.exception.ZeroException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
8: StackMap locals: java.nio.charset.Charset java.io.BufferedReader org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter
StackMap stack:
new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 1
invokevirtual java.net.URL.openStream:()Ljava/io/InputStream;
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 3
9: aload 0
new org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter
dup
aload 0
aload 3
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;Ljava/io/BufferedReader;)V
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.fillBinStats:(Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;)V
10: aload 0
iconst_1
putfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
end local 4 11: goto 17
StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.net.URL java.nio.charset.Charset java.io.BufferedReader
StackMap stack: java.lang.Throwable
12: astore 5
13: aload 3
invokevirtual java.io.BufferedReader.close:()V
14: goto 16
StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.net.URL java.nio.charset.Charset java.io.BufferedReader top java.lang.Throwable
StackMap stack: java.io.IOException
15: pop
16: StackMap locals:
StackMap stack:
aload 5
athrow
17: StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.net.URL java.nio.charset.Charset java.io.BufferedReader
StackMap stack:
aload 3
invokevirtual java.io.BufferedReader.close:()V
18: goto 20
StackMap locals:
StackMap stack: java.io.IOException
19: pop
20: StackMap locals:
StackMap stack:
return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 21 1 url Ljava/net/URL;
2 21 2 charset Ljava/nio/charset/Charset;
4 21 3 in Ljava/io/BufferedReader;
5 11 4 da Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;
Exception table:
from to target type
4 12 12 any
13 14 15 Class java.io.IOException
17 18 19 Class java.io.IOException
Exceptions:
throws java.io.IOException, org.apache.commons.math3.exception.NullArgumentException, org.apache.commons.math3.exception.ZeroException
MethodParameters:
Name Flags
url
public void load(java.io.File);
descriptor: (Ljava/io/File;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic org.apache.commons.math3.util.MathUtils.checkNotNull:(Ljava/lang/Object;)V
1: ldc "US-ASCII"
invokestatic java.nio.charset.Charset.forName:(Ljava/lang/String;)Ljava/nio/charset/Charset;
astore 2
start local 2 2: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 3
start local 3 3: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 3
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
start local 4 4: new org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter
dup
aload 0
aload 4
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;Ljava/io/BufferedReader;)V
astore 5
start local 5 5: aload 5
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter.computeStats:()V
6: new java.io.FileInputStream
dup
aload 1
invokespecial java.io.FileInputStream.<init>:(Ljava/io/File;)V
astore 3
7: new java.io.BufferedReader
dup
new java.io.InputStreamReader
dup
aload 3
aload 2
invokespecial java.io.InputStreamReader.<init>:(Ljava/io/InputStream;Ljava/nio/charset/Charset;)V
invokespecial java.io.BufferedReader.<init>:(Ljava/io/Reader;)V
astore 4
8: aload 0
new org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter
dup
aload 0
aload 4
invokespecial org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter.<init>:(Lorg/apache/commons/math3/random/EmpiricalDistribution;Ljava/io/BufferedReader;)V
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.fillBinStats:(Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;)V
9: aload 0
iconst_1
putfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
end local 5 10: goto 16
StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.io.File java.nio.charset.Charset java.io.InputStream java.io.BufferedReader
StackMap stack: java.lang.Throwable
11: astore 6
12: aload 4
invokevirtual java.io.BufferedReader.close:()V
13: goto 15
StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.io.File java.nio.charset.Charset java.io.InputStream java.io.BufferedReader top java.lang.Throwable
StackMap stack: java.io.IOException
14: pop
15: StackMap locals:
StackMap stack:
aload 6
athrow
16: StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution java.io.File java.nio.charset.Charset java.io.InputStream java.io.BufferedReader
StackMap stack:
aload 4
invokevirtual java.io.BufferedReader.close:()V
17: goto 19
StackMap locals:
StackMap stack: java.io.IOException
18: pop
19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 20 1 file Ljava/io/File;
2 20 2 charset Ljava/nio/charset/Charset;
3 20 3 is Ljava/io/InputStream;
4 20 4 in Ljava/io/BufferedReader;
5 10 5 da Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;
Exception table:
from to target type
4 11 11 any
12 13 14 Class java.io.IOException
16 17 18 Class java.io.IOException
Exceptions:
throws java.io.IOException, org.apache.commons.math3.exception.NullArgumentException
MethodParameters:
Name Flags
file
private void fillBinStats(org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter);
descriptor: (Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=8, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getMin:()D
putfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
1: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getMax:()D
putfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
2: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
dsub
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
i2d
ddiv
putfield org.apache.commons.math3.random.EmpiricalDistribution.delta:D
3: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifne 5
4: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
invokeinterface java.util.List.clear:()V
5: StackMap locals:
StackMap stack:
iconst_0
istore 2
start local 2 6: goto 10
7: StackMap locals: int
StackMap stack:
new org.apache.commons.math3.stat.descriptive.SummaryStatistics
dup
invokespecial org.apache.commons.math3.stat.descriptive.SummaryStatistics.<init>:()V
astore 3
start local 3 8: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 2
aload 3
invokeinterface java.util.List.add:(ILjava/lang/Object;)V
end local 3 9: iinc 2 1
StackMap locals:
StackMap stack:
10: iload 2
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
if_icmplt 7
end local 2 11: aload 1
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter.computeBinStats:()V
12: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
newarray 7
putfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
13: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iconst_0
14: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iconst_0
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
l2d
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
l2d
ddiv
15: dastore
16: iconst_1
istore 2
start local 2 17: goto 22
18: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 2
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 2
iconst_1
isub
daload
19: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 2
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
l2d
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
l2d
ddiv
dadd
20: dastore
21: iinc 2 1
StackMap locals:
StackMap stack:
22: iload 2
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
iconst_1
isub
if_icmplt 18
end local 2 23: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
iconst_1
isub
dconst_1
dastore
24: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 25 1 da Lorg/apache/commons/math3/random/EmpiricalDistribution$DataAdapter;
6 11 2 i I
8 9 3 stats Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
17 23 2 i I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
da final
private int findBin(double);
descriptor: (D)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
dsub
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.delta:D
ddiv
invokestatic org.apache.commons.math3.util.FastMath.ceil:(D)D
d2i
iconst_1
isub
iconst_0
invokestatic org.apache.commons.math3.util.FastMath.max:(II)I
1: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
iconst_1
isub
2: invokestatic org.apache.commons.math3.util.FastMath.min:(II)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 3 1 value D
MethodParameters:
Name Flags
value
public double getNextValue();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
ifne 2
1: new org.apache.commons.math3.exception.MathIllegalStateException
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.DISTRIBUTION_NOT_LOADED:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_0
anewarray java.lang.Object
invokespecial org.apache.commons.math3.exception.MathIllegalStateException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.sample:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalStateException
public org.apache.commons.math3.stat.descriptive.StatisticalSummary getSampleStats();
descriptor: ()Lorg/apache/commons/math3/stat/descriptive/StatisticalSummary;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public int getBinCount();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public java.util.List<org.apache.commons.math3.stat.descriptive.SummaryStatistics> getBinStats();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
Signature: ()Ljava/util/List<Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;>;
public double[] getUpperBounds();
descriptor: ()[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
newarray 7
astore 1
start local 1 1: iconst_0
istore 2
start local 2 2: goto 5
3: StackMap locals: double[] int
StackMap stack:
aload 1
iload 2
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.delta:D
iload 2
iconst_1
iadd
i2d
dmul
dadd
dastore
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
iconst_1
isub
if_icmplt 3
end local 2 6: aload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binCount:I
iconst_1
isub
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
dastore
7: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
1 8 1 binUpperBounds [D
2 6 2 i I
public double[] getGeneratorUpperBounds();
descriptor: ()[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
arraylength
istore 1
start local 1 1: iload 1
newarray 7
astore 2
start local 2 2: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iconst_0
aload 2
iconst_0
iload 1
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
1 4 1 len I
2 4 2 out [D
public boolean isLoaded();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.loaded:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
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
getfield org.apache.commons.math3.random.EmpiricalDistribution.randomData:Lorg/apache/commons/math3/random/RandomDataGenerator;
lload 1
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.reSeed:(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/EmpiricalDistribution;
0 2 1 seed J
MethodParameters:
Name Flags
seed
public double probability(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: dconst_0
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 1 1 x D
MethodParameters:
Name Flags
x
public double density(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
dcmpg
iflt 1
dload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
dconst_0
dreturn
2: StackMap locals:
StackMap stack:
aload 0
dload 1
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.findBin:(D)I
istore 3
start local 3 3: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getKernel:(Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;)Lorg/apache/commons/math3/distribution/RealDistribution;
astore 4
start local 4 4: aload 4
dload 1
invokeinterface org.apache.commons.math3.distribution.RealDistribution.density:(D)D
aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.pB:(I)D
dmul
aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.kB:(I)D
ddiv
dreturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 5 1 x D
3 5 3 binIndex I
4 5 4 kernel Lorg/apache/commons/math3/distribution/RealDistribution;
MethodParameters:
Name Flags
x
public double cumulativeProbability(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=16, args_size=2
start local 0 start local 1 0: dload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
dcmpg
ifge 2
1: dconst_0
dreturn
2: StackMap locals:
StackMap stack:
dload 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
dcmpl
iflt 4
3: dconst_1
dreturn
4: StackMap locals:
StackMap stack:
aload 0
dload 1
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.findBin:(D)I
istore 3
start local 3 5: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.pBminus:(I)D
dstore 4
start local 4 6: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.pB:(I)D
dstore 6
start local 6 7: aload 0
dload 1
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.k:(D)Lorg/apache/commons/math3/distribution/RealDistribution;
astore 8
start local 8 8: aload 8
instanceof org.apache.commons.math3.distribution.ConstantRealDistribution
ifeq 12
9: dload 1
aload 8
invokeinterface org.apache.commons.math3.distribution.RealDistribution.getNumericalMean:()D
dcmpg
ifge 11
10: dload 4
dreturn
11: StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution double int double double org.apache.commons.math3.distribution.RealDistribution
StackMap stack:
dload 4
dload 6
dadd
dreturn
12: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getUpperBounds:()[D
astore 9
start local 9 13: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.kB:(I)D
dstore 10
start local 10 14: iload 3
ifne 15
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
goto 16
StackMap locals: double[] double
StackMap stack:
15: aload 9
iload 3
iconst_1
isub
daload
StackMap locals:
StackMap stack: double
16: dstore 12
start local 12 17: aload 8
dload 1
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(D)D
aload 8
dload 12
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(D)D
dsub
dload 10
ddiv
18: dstore 14
start local 14 19: dload 4
dload 6
dload 14
dmul
dadd
dreturn
end local 14 end local 12 end local 10 end local 9 end local 8 end local 6 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 20 1 x D
5 20 3 binIndex I
6 20 4 pBminus D
7 20 6 pB D
8 20 8 kernel Lorg/apache/commons/math3/distribution/RealDistribution;
13 20 9 binBounds [D
14 20 10 kB D
17 20 12 lower D
19 20 14 withinBinCum D
MethodParameters:
Name Flags
x
public double inverseCumulativeProbability(double);
descriptor: (D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=18, args_size=2
start local 0 start local 1 0: dload 1
dconst_0
dcmpg
iflt 1
dload 1
dconst_1
dcmpl
ifle 2
1: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
dload 1
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
iconst_1
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
2: StackMap locals:
StackMap stack:
dload 1
dconst_0
dcmpl
ifne 4
3: aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getSupportLowerBound:()D
dreturn
4: StackMap locals:
StackMap stack:
dload 1
dconst_1
dcmpl
ifne 6
5: aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getSupportUpperBound:()D
dreturn
6: StackMap locals:
StackMap stack:
iconst_0
istore 3
start local 3 7: goto 9
8: StackMap locals: int
StackMap stack:
iinc 3 1
9: StackMap locals:
StackMap stack:
aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.cumBinP:(I)D
dload 1
dcmpg
iflt 8
10: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getKernel:(Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;)Lorg/apache/commons/math3/distribution/RealDistribution;
astore 4
start local 4 11: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.kB:(I)D
dstore 5
start local 5 12: aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getUpperBounds:()[D
astore 7
start local 7 13: iload 3
ifne 14
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
goto 15
StackMap locals: org.apache.commons.math3.distribution.RealDistribution double double[]
StackMap stack:
14: aload 7
iload 3
iconst_1
isub
daload
StackMap locals:
StackMap stack: double
15: dstore 8
start local 8 16: aload 4
dload 8
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(D)D
dstore 10
start local 10 17: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.pB:(I)D
dstore 12
start local 12 18: aload 0
iload 3
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.pBminus:(I)D
dstore 14
start local 14 19: dload 1
dload 14
dsub
dstore 16
start local 16 20: dload 16
dconst_0
dcmpg
ifgt 22
21: dload 8
dreturn
22: StackMap locals: org.apache.commons.math3.random.EmpiricalDistribution double int org.apache.commons.math3.distribution.RealDistribution double double[] double double double double double
StackMap stack:
aload 4
dload 10
dload 16
dload 5
dmul
dload 12
ddiv
dadd
invokeinterface org.apache.commons.math3.distribution.RealDistribution.inverseCumulativeProbability:(D)D
dreturn
end local 16 end local 14 end local 12 end local 10 end local 8 end local 7 end local 5 end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 23 1 p D
7 23 3 i I
11 23 4 kernel Lorg/apache/commons/math3/distribution/RealDistribution;
12 23 5 kB D
13 23 7 binBounds [D
16 23 8 lower D
17 23 10 kBminus D
18 23 12 pB D
19 23 14 pBminus D
20 23 16 pCrit D
Exceptions:
throws org.apache.commons.math3.exception.OutOfRangeException
MethodParameters:
Name Flags
p final
public double getNumericalMean();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getMean:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public double getNumericalVariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.sampleStats:Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getVariance:()D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public double getSupportLowerBound();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public double getSupportUpperBound();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.max:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public boolean isSupportLowerBoundInclusive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public boolean isSupportUpperBoundInclusive();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public boolean isSupportConnected();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
public void reseedRandomGenerator(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
getfield org.apache.commons.math3.random.EmpiricalDistribution.randomData:Lorg/apache/commons/math3/random/RandomDataGenerator;
lload 1
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.reSeed:(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/EmpiricalDistribution;
0 2 1 seed J
MethodParameters:
Name Flags
seed
private double pB(int);
descriptor: (I)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 1
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iconst_0
daload
goto 2
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 1
daload
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 1
iconst_1
isub
daload
dsub
2: StackMap locals:
StackMap stack: double
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 3 1 i I
MethodParameters:
Name Flags
i
private double pBminus(int);
descriptor: (I)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: iload 1
ifne 1
dconst_0
goto 2
StackMap locals:
StackMap stack:
1: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 1
iconst_1
isub
daload
StackMap locals:
StackMap stack: double
2: dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 3 1 i I
MethodParameters:
Name Flags
i
private double kB(int);
descriptor: (I)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getUpperBounds:()[D
astore 2
start local 2 1: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 1
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getKernel:(Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;)Lorg/apache/commons/math3/distribution/RealDistribution;
astore 3
start local 3 2: iload 1
ifne 3
aload 3
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.min:D
aload 2
iconst_0
daload
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(DD)D
goto 4
3: StackMap locals: double[] org.apache.commons.math3.distribution.RealDistribution
StackMap stack:
aload 3
aload 2
iload 1
iconst_1
isub
daload
aload 2
iload 1
daload
invokeinterface org.apache.commons.math3.distribution.RealDistribution.cumulativeProbability:(DD)D
4: StackMap locals:
StackMap stack: double
dreturn
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/EmpiricalDistribution;
0 5 1 i I
1 5 2 binBounds [D
2 5 3 kernel Lorg/apache/commons/math3/distribution/RealDistribution;
MethodParameters:
Name Flags
i
private org.apache.commons.math3.distribution.RealDistribution k(double);
descriptor: (D)Lorg/apache/commons/math3/distribution/RealDistribution;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aload 0
dload 1
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.findBin:(D)I
istore 3
start local 3 1: aload 0
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.binStats:Ljava/util/List;
iload 3
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.descriptive.SummaryStatistics
invokevirtual org.apache.commons.math3.random.EmpiricalDistribution.getKernel:(Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;)Lorg/apache/commons/math3/distribution/RealDistribution;
areturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 2 1 x D
1 2 3 binIndex I
MethodParameters:
Name Flags
x
private double cumBinP(int);
descriptor: (I)D
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.upperBounds:[D
iload 1
daload
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 1 1 binIndex I
MethodParameters:
Name Flags
binIndex
protected org.apache.commons.math3.distribution.RealDistribution getKernel(org.apache.commons.math3.stat.descriptive.SummaryStatistics);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;)Lorg/apache/commons/math3/distribution/RealDistribution;
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getN:()J
lconst_1
lcmp
ifeq 1
aload 1
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getVariance:()D
dconst_0
dcmpl
ifne 2
1: StackMap locals:
StackMap stack:
new org.apache.commons.math3.distribution.ConstantRealDistribution
dup
aload 1
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getMean:()D
invokespecial org.apache.commons.math3.distribution.ConstantRealDistribution.<init>:(D)V
areturn
2: StackMap locals:
StackMap stack:
new org.apache.commons.math3.distribution.NormalDistribution
dup
aload 0
getfield org.apache.commons.math3.random.EmpiricalDistribution.randomData:Lorg/apache/commons/math3/random/RandomDataGenerator;
invokevirtual org.apache.commons.math3.random.RandomDataGenerator.getRandomGenerator:()Lorg/apache/commons/math3/random/RandomGenerator;
3: aload 1
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getMean:()D
aload 1
invokevirtual org.apache.commons.math3.stat.descriptive.SummaryStatistics.getStandardDeviation:()D
4: ldc 1.0E-9
5: invokespecial org.apache.commons.math3.distribution.NormalDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;DDD)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/commons/math3/random/EmpiricalDistribution;
0 6 1 bStats Lorg/apache/commons/math3/stat/descriptive/SummaryStatistics;
MethodParameters:
Name Flags
bStats
}
SourceFile: "EmpiricalDistribution.java"
NestMembers:
org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter
InnerClasses:
private ArrayDataAdapter = org.apache.commons.math3.random.EmpiricalDistribution$ArrayDataAdapter of org.apache.commons.math3.random.EmpiricalDistribution
private abstract DataAdapter = org.apache.commons.math3.random.EmpiricalDistribution$DataAdapter of org.apache.commons.math3.random.EmpiricalDistribution
private StreamDataAdapter = org.apache.commons.math3.random.EmpiricalDistribution$StreamDataAdapter of org.apache.commons.math3.random.EmpiricalDistribution