public class org.apache.commons.math3.stat.inference.BinomialTest
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.inference.BinomialTest
super_class: java.lang.Object
{
private static volatile int[] $SWITCH_TABLE$org$apache$commons$math3$stat$inference$AlternativeHypothesis;
descriptor: [I
flags: (0x104a) ACC_PRIVATE, ACC_STATIC, ACC_VOLATILE, ACC_SYNTHETIC
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/inference/BinomialTest;
public boolean binomialTest(int, int, double, org.apache.commons.math3.stat.inference.AlternativeHypothesis, double);
descriptor: (IIDLorg/apache/commons/math3/stat/inference/AlternativeHypothesis;D)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=10, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 5 start local 6 0: aload 0
iload 1
iload 2
dload 3
aload 5
invokevirtual org.apache.commons.math3.stat.inference.BinomialTest.binomialTest:(IIDLorg/apache/commons/math3/stat/inference/AlternativeHypothesis;)D
dstore 8
start local 8 1: dload 8
dload 6
dcmpg
ifge 2
iconst_1
ireturn
StackMap locals: double
StackMap stack:
2: iconst_0
ireturn
end local 8 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/inference/BinomialTest;
0 3 1 numberOfTrials I
0 3 2 numberOfSuccesses I
0 3 3 probability D
0 3 5 alternativeHypothesis Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
0 3 6 alpha D
1 3 8 pValue D
MethodParameters:
Name Flags
numberOfTrials
numberOfSuccesses
probability
alternativeHypothesis
alpha
public double binomialTest(int, int, double, org.apache.commons.math3.stat.inference.AlternativeHypothesis);
descriptor: (IIDLorg/apache/commons/math3/stat/inference/AlternativeHypothesis;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=15, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 5 0: iload 1
ifge 2
1: new org.apache.commons.math3.exception.NotPositiveException
dup
iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.NotPositiveException.<init>:(Ljava/lang/Number;)V
athrow
2: StackMap locals:
StackMap stack:
iload 2
ifge 4
3: new org.apache.commons.math3.exception.NotPositiveException
dup
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokespecial org.apache.commons.math3.exception.NotPositiveException.<init>:(Ljava/lang/Number;)V
athrow
4: StackMap locals:
StackMap stack:
dload 3
dconst_0
dcmpg
iflt 5
dload 3
dconst_1
dcmpl
ifle 6
5: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.OutOfRangeException
dup
dload 3
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
6: StackMap locals:
StackMap stack:
iload 1
iload 2
if_icmpge 11
7: new org.apache.commons.math3.exception.MathIllegalArgumentException
dup
8: getstatic org.apache.commons.math3.exception.util.LocalizedFormats.BINOMIAL_INVALID_PARAMETERS_ORDER:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_2
anewarray java.lang.Object
dup
iconst_0
9: iload 1
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
aastore
dup
iconst_1
iload 2
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
10: aastore
invokespecial org.apache.commons.math3.exception.MathIllegalArgumentException.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
11: StackMap locals:
StackMap stack:
aload 5
ifnonnull 13
12: new org.apache.commons.math3.exception.NullArgumentException
dup
invokespecial org.apache.commons.math3.exception.NullArgumentException.<init>:()V
athrow
13: StackMap locals:
StackMap stack:
new org.apache.commons.math3.distribution.BinomialDistribution
dup
aconst_null
iload 1
dload 3
invokespecial org.apache.commons.math3.distribution.BinomialDistribution.<init>:(Lorg/apache/commons/math3/random/RandomGenerator;ID)V
astore 6
start local 6 14: invokestatic org.apache.commons.math3.stat.inference.BinomialTest.$SWITCH_TABLE$org$apache$commons$math3$stat$inference$AlternativeHypothesis:()[I
aload 5
invokevirtual org.apache.commons.math3.stat.inference.AlternativeHypothesis.ordinal:()I
iaload
tableswitch { // 1 - 3
1: 17
2: 15
3: 16
default: 35
}
15: StackMap locals: org.apache.commons.math3.distribution.BinomialDistribution
StackMap stack:
dconst_1
aload 6
iload 2
iconst_1
isub
invokevirtual org.apache.commons.math3.distribution.BinomialDistribution.cumulativeProbability:(I)D
dsub
dreturn
16: StackMap locals:
StackMap stack:
aload 6
iload 2
invokevirtual org.apache.commons.math3.distribution.BinomialDistribution.cumulativeProbability:(I)D
dreturn
17: StackMap locals:
StackMap stack:
iconst_0
istore 7
start local 7 18: iload 1
istore 8
start local 8 19: dconst_0
dstore 9
start local 9 20: StackMap locals: int int double
StackMap stack:
aload 6
iload 7
invokevirtual org.apache.commons.math3.distribution.BinomialDistribution.probability:(I)D
dstore 11
start local 11 21: aload 6
iload 8
invokevirtual org.apache.commons.math3.distribution.BinomialDistribution.probability:(I)D
dstore 13
start local 13 22: dload 11
dload 13
dcmpl
ifne 27
23: dload 9
ldc 2.0
dload 11
dmul
dadd
dstore 9
24: iinc 7 1
25: iinc 8 -1
26: goto 33
StackMap locals: double double
StackMap stack:
27: dload 11
dload 13
dcmpg
ifge 31
28: dload 9
dload 11
dadd
dstore 9
29: iinc 7 1
30: goto 33
31: StackMap locals:
StackMap stack:
dload 9
dload 13
dadd
dstore 9
32: iinc 8 -1
33: StackMap locals:
StackMap stack:
iload 7
iload 2
if_icmpgt 34
iload 8
iload 2
if_icmpge 20
end local 13 end local 11 34: StackMap locals:
StackMap stack:
dload 9
dreturn
end local 9 end local 8 end local 7 35: StackMap locals:
StackMap stack:
new org.apache.commons.math3.exception.MathInternalError
dup
getstatic org.apache.commons.math3.exception.util.LocalizedFormats.OUT_OF_RANGE_SIMPLE:Lorg/apache/commons/math3/exception/util/LocalizedFormats;
iconst_3
anewarray java.lang.Object
dup
iconst_0
aload 5
aastore
dup
iconst_1
36: getstatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.TWO_SIDED:Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
aastore
dup
iconst_2
getstatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.LESS_THAN:Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
37: aastore
invokespecial org.apache.commons.math3.exception.MathInternalError.<init>:(Lorg/apache/commons/math3/exception/util/Localizable;[Ljava/lang/Object;)V
athrow
end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 38 0 this Lorg/apache/commons/math3/stat/inference/BinomialTest;
0 38 1 numberOfTrials I
0 38 2 numberOfSuccesses I
0 38 3 probability D
0 38 5 alternativeHypothesis Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
14 38 6 distribution Lorg/apache/commons/math3/distribution/BinomialDistribution;
18 35 7 criticalValueLow I
19 35 8 criticalValueHigh I
20 35 9 pTotal D
21 34 11 pLow D
22 34 13 pHigh D
MethodParameters:
Name Flags
numberOfTrials
numberOfSuccesses
probability
alternativeHypothesis
static int[] $SWITCH_TABLE$org$apache$commons$math3$stat$inference$AlternativeHypothesis();
descriptor: ()[I
flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=0
0: getstatic org.apache.commons.math3.stat.inference.BinomialTest.$SWITCH_TABLE$org$apache$commons$math3$stat$inference$AlternativeHypothesis:[I
dup
ifnull 1
areturn
StackMap locals:
StackMap stack: int[]
1: pop
invokestatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.values:()[Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
arraylength
newarray 10
astore 0
2: aload 0
getstatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.GREATER_THAN:Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
invokevirtual org.apache.commons.math3.stat.inference.AlternativeHypothesis.ordinal:()I
iconst_2
iastore
3: goto 5
StackMap locals: int[]
StackMap stack: java.lang.NoSuchFieldError
4: pop
StackMap locals:
StackMap stack:
5: aload 0
getstatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.LESS_THAN:Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
invokevirtual org.apache.commons.math3.stat.inference.AlternativeHypothesis.ordinal:()I
iconst_3
iastore
6: goto 8
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
7: pop
StackMap locals:
StackMap stack:
8: aload 0
getstatic org.apache.commons.math3.stat.inference.AlternativeHypothesis.TWO_SIDED:Lorg/apache/commons/math3/stat/inference/AlternativeHypothesis;
invokevirtual org.apache.commons.math3.stat.inference.AlternativeHypothesis.ordinal:()I
iconst_1
iastore
9: goto 11
StackMap locals:
StackMap stack: java.lang.NoSuchFieldError
10: pop
StackMap locals:
StackMap stack:
11: aload 0
dup
putstatic org.apache.commons.math3.stat.inference.BinomialTest.$SWITCH_TABLE$org$apache$commons$math3$stat$inference$AlternativeHypothesis:[I
areturn
LocalVariableTable:
Start End Slot Name Signature
Exception table:
from to target type
2 3 4 Class java.lang.NoSuchFieldError
5 6 7 Class java.lang.NoSuchFieldError
8 9 10 Class java.lang.NoSuchFieldError
}
SourceFile: "BinomialTest.java"