public class org.apache.commons.math3.stat.descriptive.summary.Sum extends org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.descriptive.summary.Sum
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: -8231831954703408316
private long n;
descriptor: J
flags: (0x0002) ACC_PRIVATE
private double value;
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 org.apache.commons.math3.stat.descriptive.AbstractStorelessUnivariateStatistic.<init>:()V
1: aload 0
lconst_0
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
2: aload 0
dconst_0
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
3: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
public void <init>(org.apache.commons.math3.stat.descriptive.summary.Sum);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/summary/Sum;)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.summary.Sum.copy:(Lorg/apache/commons/math3/stat/descriptive/summary/Sum;Lorg/apache/commons/math3/stat/descriptive/summary/Sum;)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/summary/Sum;
0 3 1 original Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
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=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
getfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
dload 1
dadd
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
1: aload 0
dup
getfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
lconst_1
ladd
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
0 3 1 d D
MethodParameters:
Name Flags
d final
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.summary.Sum.value:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
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.summary.Sum.n:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
dconst_0
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
1: aload 0
lconst_0
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
public double evaluate(double[], int, int);
descriptor: ([DII)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: ldc NaN
dstore 4
start local 4 1: aload 0
aload 1
iload 2
iload 3
iconst_1
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.test:([DIIZ)Z
ifeq 8
2: dconst_0
dstore 4
3: iload 2
istore 6
start local 6 4: goto 7
5: StackMap locals: double int
StackMap stack:
dload 4
aload 1
iload 6
daload
dadd
dstore 4
6: iinc 6 1
StackMap locals:
StackMap stack:
7: iload 6
iload 2
iload 3
iadd
if_icmplt 5
end local 6 8: StackMap locals:
StackMap stack:
dload 4
dreturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
0 9 1 values [D
0 9 2 begin I
0 9 3 length I
1 9 4 sum D
4 8 6 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=6, locals=8, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: ldc NaN
dstore 5
start local 5 1: aload 0
aload 1
aload 2
iload 3
iload 4
iconst_1
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.test:([D[DIIZ)Z
ifeq 8
2: dconst_0
dstore 5
3: iload 3
istore 7
start local 7 4: goto 7
5: StackMap locals: double int
StackMap stack:
dload 5
aload 1
iload 7
daload
aload 2
iload 7
daload
dmul
dadd
dstore 5
6: iinc 7 1
StackMap locals:
StackMap stack:
7: iload 7
iload 3
iload 4
iadd
if_icmplt 5
end local 7 8: StackMap locals:
StackMap stack:
dload 5
dreturn
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 9 0 this Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
0 9 1 values [D
0 9 2 weights [D
0 9 3 begin I
0 9 4 length I
1 9 5 sum D
4 8 7 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.summary.Sum.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/summary/Sum;
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.summary.Sum copy();
descriptor: ()Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.apache.commons.math3.stat.descriptive.summary.Sum
dup
invokespecial org.apache.commons.math3.stat.descriptive.summary.Sum.<init>:()V
astore 1
start local 1 1: aload 0
aload 1
invokestatic org.apache.commons.math3.stat.descriptive.summary.Sum.copy:(Lorg/apache/commons/math3/stat/descriptive/summary/Sum;Lorg/apache/commons/math3/stat/descriptive/summary/Sum;)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/summary/Sum;
1 3 1 result Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
public static void copy(org.apache.commons.math3.stat.descriptive.summary.Sum, org.apache.commons.math3.stat.descriptive.summary.Sum);
descriptor: (Lorg/apache/commons/math3/stat/descriptive/summary/Sum;Lorg/apache/commons/math3/stat/descriptive/summary/Sum;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, 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.summary.Sum.getDataRef:()[D
invokevirtual org.apache.commons.math3.stat.descriptive.summary.Sum.setData:([D)V
3: aload 1
aload 0
getfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.n:J
4: aload 1
aload 0
getfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
putfield org.apache.commons.math3.stat.descriptive.summary.Sum.value:D
5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
0 6 1 dest Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
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.summary.Sum.copy:()Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
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.summary.Sum.copy:()Lorg/apache/commons/math3/stat/descriptive/summary/Sum;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "Sum.java"