public class org.apache.commons.math3.stat.descriptive.moment.Mean extends org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic implements java.io.Serializable, org.apache.commons.math3.stat.descriptive.WeightedEvaluation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.descriptive.moment.Mean
super_class: org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: -1296043746617791564
protected org.apache.commons.math3.stat.descriptive.moment.FirstMoment moment;
descriptor: Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
flags: (0x0004) ACC_PROTECTED
protected boolean incMoment;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic.<init>:()V
1: aload 0
iconst_1
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.incMoment:Z
2: aload 0
new org.apache.commons.math3.stat.descriptive.moment.FirstMoment
dup
invokespecial org.apache.commons.math3.stat.descriptive.moment.FirstMoment.<init>:()V
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
public void <init>(org.apache.commons.math3.stat.descriptive.moment.FirstMoment);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
2: aload 0
iconst_0
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.incMoment:Z
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 4 1 m1 Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
MethodParameters:
Name Flags
m1 final
public void <init>(org.apache.commons.math3.stat.descriptive.moment.Mean);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/moment/Mean;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic.<init>:()V
1: aload 1
aload 0
invokestatic org.apache.commons.math3.stat.descriptive.moment.Mean.copy:(Lorg/apache/commons/math3/stat/descriptive/moment/Mean;Lorg/apache/commons/math3/stat/descriptive/moment/Mean;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 3 1 original Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
Exceptions:
throws org.apache.commons.math3.exception.NullArgumentException
MethodParameters:
Name Flags
original
public void increment(double);
descriptor: (D)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.stat.descriptive.moment.Mean.incMoment:Z
ifeq 2
1: aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
dload 1
invokevirtual org.apache.commons.math3.stat.descriptive.moment.FirstMoment.increment:(D)V
2: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 3 1 d D
MethodParameters:
Name Flags
d final
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.incMoment:Z
ifeq 2
1: aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
invokevirtual org.apache.commons.math3.stat.descriptive.moment.FirstMoment.clear:()V
2: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
public double getResult();
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.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
getfield org.apache.commons.math3.stat.descriptive.moment.FirstMoment.m1:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
public long getN();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
invokevirtual org.apache.commons.math3.stat.descriptive.moment.FirstMoment.getN:()J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
public double evaluate(double[], int, int);
descriptor: ([DII)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=12, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.test:([DII)Z
ifeq 11
1: new org.apache.commons.math3.stat.descriptive.summary.Sum
dup
invokespecial org.apache.commons.math3.stat.descriptive.summary.Sum.<init>:()V
astore 4
start local 4 2: iload 3
i2d
dstore 5
start local 5 3: aload 4
aload 1
iload 2
iload 3
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.evaluate:([DII)D
dload 5
ddiv
dstore 7
start local 7 4: dconst_0
dstore 9
start local 9 5: iload 2
istore 11
start local 11 6: goto 9
7: StackMap locals: org.apache.commons.math3.stat.descriptive.moment.Mean double[] int int org.apache.commons.math3.stat.descriptive.summary.Sum double double double int
StackMap stack:
dload 9
aload 1
iload 11
daload
dload 7
dsub
dadd
dstore 9
8: iinc 11 1
StackMap locals:
StackMap stack:
9: iload 11
iload 2
iload 3
iadd
if_icmplt 7
end local 11 10: dload 7
dload 9
dload 5
ddiv
dadd
dreturn
end local 9 end local 7 end local 5 end local 4 11: StackMap locals: org.apache.commons.math3.stat.descriptive.moment.Mean double[] int int
StackMap stack:
ldc NaN
dreturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 12 1 values [D
0 12 2 begin I
0 12 3 length I
2 11 4 sum Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
3 11 5 sampleSize D
4 11 7 xbar D
5 11 9 correction D
6 10 11 i I
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalArgumentException
MethodParameters:
Name Flags
values final
begin final
length final
public double evaluate(double[], double[], int, int);
descriptor: ([D[DII)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=13, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
iload 4
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.test:([D[DII)Z
ifeq 11
1: new org.apache.commons.math3.stat.descriptive.summary.Sum
dup
invokespecial org.apache.commons.math3.stat.descriptive.summary.Sum.<init>:()V
astore 5
start local 5 2: aload 5
aload 2
iload 3
iload 4
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.evaluate:([DII)D
dstore 6
start local 6 3: aload 5
aload 1
aload 2
iload 3
iload 4
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.evaluate:([D[DII)D
dload 6
ddiv
dstore 8
start local 8 4: dconst_0
dstore 10
start local 10 5: iload 3
istore 12
start local 12 6: goto 9
7: StackMap locals: org.apache.commons.math3.stat.descriptive.moment.Mean double[] double[] int int org.apache.commons.math3.stat.descriptive.summary.Sum double double double int
StackMap stack:
dload 10
aload 2
iload 12
daload
aload 1
iload 12
daload
dload 8
dsub
dmul
dadd
dstore 10
8: iinc 12 1
StackMap locals:
StackMap stack:
9: iload 12
iload 3
iload 4
iadd
if_icmplt 7
end local 12 10: dload 8
dload 10
dload 6
ddiv
dadd
dreturn
end local 10 end local 8 end local 6 end local 5 11: StackMap locals: org.apache.commons.math3.stat.descriptive.moment.Mean double[] double[] int int
StackMap stack:
ldc NaN
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 12 1 values [D
0 12 2 weights [D
0 12 3 begin I
0 12 4 length I
2 11 5 sum Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
3 11 6 sumw D
4 11 8 xbarw D
5 11 10 correction D
6 10 12 i I
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalArgumentException
MethodParameters:
Name Flags
values final
weights final
begin final
length final
public double evaluate(double[], double[]);
descriptor: ([D[D)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
aload 1
arraylength
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.evaluate:([D[DII)D
dreturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 1 1 values [D
0 1 2 weights [D
Exceptions:
throws org.apache.commons.math3.exception.MathIllegalArgumentException
MethodParameters:
Name Flags
values final
weights final
public org.apache.commons.math3.stat.descriptive.moment.Mean copy();
descriptor: ()Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.apache.commons.math3.stat.descriptive.moment.Mean
dup
invokespecial org.apache.commons.math3.stat.descriptive.moment.Mean.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.apache.commons.math3.stat.descriptive.moment.Mean.copy:(Lorg/apache/commons/math3/stat/descriptive/moment/Mean;Lorg/apache/commons/math3/stat/descriptive/moment/Mean;)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
1 3 1 result Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
public static void copy(org.apache.commons.math3.stat.descriptive.moment.Mean, org.apache.commons.math3.stat.descriptive.moment.Mean);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/moment/Mean;Lorg/apache/commons/math3/stat/descriptive/moment/Mean;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokestatic org.apache.commons.math3.util.MathUtils.checkNotNull:(Ljava/lang/Object;)V
1: aload 1
invokestatic org.apache.commons.math3.util.MathUtils.checkNotNull:(Ljava/lang/Object;)V
2: aload 1
aload 0
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.getDataRef:()[D
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.setData:([D)V
3: aload 1
aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.incMoment:Z
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.incMoment:Z
4: aload 1
aload 0
getfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
invokevirtual org.apache.commons.math3.stat.descriptive.moment.FirstMoment.copy:()Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
putfield org.apache.commons.math3.stat.descriptive.moment.Mean.moment:Lorg/apache/commons/math3/stat/descriptive/moment/FirstMoment;
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
0 6 1 dest Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
Exceptions:
throws org.apache.commons.math3.exception.NullArgumentException
MethodParameters:
Name Flags
source
dest
public org.apache.commons.math3.stat.descriptive.StorelessUnivariateStatistic copy();
descriptor: ()Lorg/apache/commons/math3/stat/descriptive/StorelessUnivariateStatistic;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.copy:()Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
areturn
LocalVariableTable:
Start End Slot Name Signature
public org.apache.commons.math3.stat.descriptive.UnivariateStatistic copy();
descriptor: ()Lorg/apache/commons/math3/stat/descriptive/UnivariateStatistic;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.apache.commons.math3.stat.descriptive.moment.Mean.copy:()Lorg/apache/commons/math3/stat/descriptive/moment/Mean;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Mean.java"