public final class com.google.common.math.Stats implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.google.common.math.Stats
super_class: java.lang.Object
{
private final long count;
descriptor: J
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double mean;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double sumOfSquaresOfDeltas;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double min;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double max;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final int BYTES;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 40
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(long, double, double, double, double);
descriptor: (JDDDD)V
flags: (0x0000)
Code:
stack=3, locals=11, args_size=6
start local 0 start local 1 start local 3 start local 5 start local 7 start local 9 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
lload 1
putfield com.google.common.math.Stats.count:J
2: aload 0
dload 3
putfield com.google.common.math.Stats.mean:D
3: aload 0
dload 5
putfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
4: aload 0
dload 7
putfield com.google.common.math.Stats.min:D
5: aload 0
dload 9
putfield com.google.common.math.Stats.max:D
6: return
end local 9 end local 7 end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/google/common/math/Stats;
0 7 1 count J
0 7 3 mean D
0 7 5 sumOfSquaresOfDeltas D
0 7 7 min D
0 7 9 max D
MethodParameters:
Name Flags
count
mean
sumOfSquaresOfDeltas
min
max
public static com.google.common.math.Stats of(java.lang.Iterable<? extends java.lang.Number>);
descriptor: (Ljava/lang/Iterable;)Lcom/google/common/math/Stats;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.google.common.math.StatsAccumulator
dup
invokespecial com.google.common.math.StatsAccumulator.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.math.StatsAccumulator.addAll:(Ljava/lang/Iterable;)V
2: aload 1
invokevirtual com.google.common.math.StatsAccumulator.snapshot:()Lcom/google/common/math/Stats;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values Ljava/lang/Iterable<+Ljava/lang/Number;>;
1 3 1 accumulator Lcom/google/common/math/StatsAccumulator;
Signature: (Ljava/lang/Iterable<+Ljava/lang/Number;>;)Lcom/google/common/math/Stats;
MethodParameters:
Name Flags
values
public static com.google.common.math.Stats of(java.util.Iterator<? extends java.lang.Number>);
descriptor: (Ljava/util/Iterator;)Lcom/google/common/math/Stats;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.google.common.math.StatsAccumulator
dup
invokespecial com.google.common.math.StatsAccumulator.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.math.StatsAccumulator.addAll:(Ljava/util/Iterator;)V
2: aload 1
invokevirtual com.google.common.math.StatsAccumulator.snapshot:()Lcom/google/common/math/Stats;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values Ljava/util/Iterator<+Ljava/lang/Number;>;
1 3 1 accumulator Lcom/google/common/math/StatsAccumulator;
Signature: (Ljava/util/Iterator<+Ljava/lang/Number;>;)Lcom/google/common/math/Stats;
MethodParameters:
Name Flags
values
public static com.google.common.math.Stats of(double[]);
descriptor: ([D)Lcom/google/common/math/Stats;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.google.common.math.StatsAccumulator
dup
invokespecial com.google.common.math.StatsAccumulator.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.math.StatsAccumulator.addAll:([D)V
2: aload 1
invokevirtual com.google.common.math.StatsAccumulator.snapshot:()Lcom/google/common/math/Stats;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values [D
1 3 1 acummulator Lcom/google/common/math/StatsAccumulator;
MethodParameters:
Name Flags
values
public static com.google.common.math.Stats of(int[]);
descriptor: ([I)Lcom/google/common/math/Stats;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.google.common.math.StatsAccumulator
dup
invokespecial com.google.common.math.StatsAccumulator.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.math.StatsAccumulator.addAll:([I)V
2: aload 1
invokevirtual com.google.common.math.StatsAccumulator.snapshot:()Lcom/google/common/math/Stats;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values [I
1 3 1 acummulator Lcom/google/common/math/StatsAccumulator;
MethodParameters:
Name Flags
values
public static com.google.common.math.Stats of(long[]);
descriptor: ([J)Lcom/google/common/math/Stats;
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=2, locals=2, args_size=1
start local 0 0: new com.google.common.math.StatsAccumulator
dup
invokespecial com.google.common.math.StatsAccumulator.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual com.google.common.math.StatsAccumulator.addAll:([J)V
2: aload 1
invokevirtual com.google.common.math.StatsAccumulator.snapshot:()Lcom/google/common/math/Stats;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 values [J
1 3 1 acummulator Lcom/google/common/math/StatsAccumulator;
MethodParameters:
Name Flags
values
public long count();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public double mean();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lconst_0
lcmp
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.math.Stats.mean:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/math/Stats;
public double sum();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.mean:D
aload 0
getfield com.google.common.math.Stats.count:J
l2d
dmul
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public double populationVariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lconst_0
lcmp
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: ldc NaN
dreturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.math.Stats.count:J
lconst_1
lcmp
ifne 7
6: dconst_0
dreturn
7: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic com.google.common.math.DoubleUtils.ensureNonNegative:(D)D
aload 0
invokevirtual com.google.common.math.Stats.count:()J
l2d
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lcom/google/common/math/Stats;
public double populationStandardDeviation();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.Stats.populationVariance:()D
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public double sampleVariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lconst_1
lcmp
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: ldc NaN
dreturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic com.google.common.math.DoubleUtils.ensureNonNegative:(D)D
aload 0
getfield com.google.common.math.Stats.count:J
lconst_1
lsub
l2d
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/google/common/math/Stats;
public double sampleStandardDeviation();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.Stats.sampleVariance:()D
invokestatic java.lang.Math.sqrt:(D)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public double min();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lconst_0
lcmp
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.math.Stats.min:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/math/Stats;
public double max();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.count:J
lconst_0
lcmp
ifeq 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
3: aload 0
getfield com.google.common.math.Stats.max:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/math/Stats;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=3, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
aload 1
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
if_acmpeq 4
3: iconst_0
ireturn
4: StackMap locals:
StackMap stack:
aload 1
checkcast com.google.common.math.Stats
astore 2
start local 2 5: aload 0
getfield com.google.common.math.Stats.count:J
aload 2
getfield com.google.common.math.Stats.count:J
lcmp
ifne 11
6: aload 0
getfield com.google.common.math.Stats.mean:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
aload 2
getfield com.google.common.math.Stats.mean:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lcmp
ifne 11
7: aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
aload 2
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lcmp
ifne 11
8: aload 0
getfield com.google.common.math.Stats.min:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
aload 2
getfield com.google.common.math.Stats.min:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lcmp
ifne 11
9: aload 0
getfield com.google.common.math.Stats.max:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
aload 2
getfield com.google.common.math.Stats.max:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
lcmp
ifne 11
10: iconst_1
ireturn
StackMap locals: com.google.common.math.Stats
StackMap stack:
11: iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/math/Stats;
0 12 1 obj Ljava/lang/Object;
5 12 2 other Lcom/google/common/math/Stats;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
org.checkerframework.checker.nullness.qual.Nullable()
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: iconst_5
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.google.common.math.Stats.count:J
invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
aastore
dup
iconst_1
aload 0
getfield com.google.common.math.Stats.mean:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_2
aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_3
aload 0
getfield com.google.common.math.Stats.min:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
dup
iconst_4
aload 0
getfield com.google.common.math.Stats.max:D
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic com.google.common.base.Objects.hashCode:([Ljava/lang/Object;)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.Stats.count:()J
lconst_0
lcmp
ifle 9
1: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "count"
aload 0
getfield com.google.common.math.Stats.count:J
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;J)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: ldc "mean"
aload 0
getfield com.google.common.math.Stats.mean:D
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper;
4: ldc "populationStandardDeviation"
aload 0
invokevirtual com.google.common.math.Stats.populationStandardDeviation:()D
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper;
5: ldc "min"
aload 0
getfield com.google.common.math.Stats.min:D
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper;
6: ldc "max"
aload 0
getfield com.google.common.math.Stats.max:D
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper;
7: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
8: areturn
9: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
ldc "count"
aload 0
getfield com.google.common.math.Stats.count:J
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;J)Lcom/google/common/base/MoreObjects$ToStringHelper;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/google/common/math/Stats;
double sumOfSquaresOfDeltas();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/Stats;
public static double meanOf(java.lang.Iterable<? extends java.lang.Number>);
descriptor: (Ljava/lang/Iterable;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokeinterface java.lang.Iterable.iterator:()Ljava/util/Iterator;
invokestatic com.google.common.math.Stats.meanOf:(Ljava/util/Iterator;)D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 values Ljava/lang/Iterable<+Ljava/lang/Number;>;
Signature: (Ljava/lang/Iterable<+Ljava/lang/Number;>;)D
MethodParameters:
Name Flags
values
public static double meanOf(java.util.Iterator<? extends java.lang.Number>);
descriptor: (Ljava/util/Iterator;)D
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=7, args_size=1
start local 0 0: aload 0
invokeinterface java.util.Iterator.hasNext:()Z
invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
1: lconst_1
lstore 1
start local 1 2: aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dstore 3
start local 3 3: goto 10
4: StackMap locals: long double
StackMap stack:
aload 0
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Number
invokevirtual java.lang.Number.doubleValue:()D
dstore 5
start local 5 5: lload 1
lconst_1
ladd
lstore 1
6: dload 5
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 9
dload 3
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 9
7: dload 3
dload 5
dload 3
dsub
lload 1
l2d
ddiv
dadd
dstore 3
8: goto 10
9: StackMap locals: double
StackMap stack:
dload 3
dload 5
invokestatic com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite:(DD)D
dstore 3
end local 5 10: StackMap locals:
StackMap stack:
aload 0
invokeinterface java.util.Iterator.hasNext:()Z
ifne 4
11: dload 3
dreturn
end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 values Ljava/util/Iterator<+Ljava/lang/Number;>;
2 12 1 count J
3 12 3 mean D
5 10 5 value D
Signature: (Ljava/util/Iterator<+Ljava/lang/Number;>;)D
MethodParameters:
Name Flags
values
public static double meanOf(double[]);
descriptor: ([D)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
3: aload 0
iconst_0
daload
dstore 1
start local 1 4: iconst_1
istore 3
start local 3 5: goto 12
6: StackMap locals: double int
StackMap stack:
aload 0
iload 3
daload
dstore 4
start local 4 7: dload 4
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
dload 1
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
8: dload 1
dload 4
dload 1
dsub
iload 3
iconst_1
iadd
i2d
ddiv
dadd
dstore 1
9: goto 11
10: StackMap locals: double
StackMap stack:
dload 1
dload 4
invokestatic com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite:(DD)D
dstore 1
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
arraylength
if_icmplt 6
end local 3 13: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 values [D
4 14 1 mean D
5 13 3 index I
7 11 4 value D
MethodParameters:
Name Flags
values
public static double meanOf(int[]);
descriptor: ([I)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
3: aload 0
iconst_0
iaload
i2d
dstore 1
start local 1 4: iconst_1
istore 3
start local 3 5: goto 12
6: StackMap locals: double int
StackMap stack:
aload 0
iload 3
iaload
i2d
dstore 4
start local 4 7: dload 4
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
dload 1
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
8: dload 1
dload 4
dload 1
dsub
iload 3
iconst_1
iadd
i2d
ddiv
dadd
dstore 1
9: goto 11
10: StackMap locals: double
StackMap stack:
dload 1
dload 4
invokestatic com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite:(DD)D
dstore 1
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
arraylength
if_icmplt 6
end local 3 13: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 values [I
4 14 1 mean D
5 13 3 index I
7 11 4 value D
MethodParameters:
Name Flags
values
public static double meanOf(long[]);
descriptor: ([J)D
flags: (0x0089) ACC_PUBLIC, ACC_STATIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=1
start local 0 0: aload 0
arraylength
ifle 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: invokestatic com.google.common.base.Preconditions.checkArgument:(Z)V
3: aload 0
iconst_0
laload
l2d
dstore 1
start local 1 4: iconst_1
istore 3
start local 3 5: goto 12
6: StackMap locals: double int
StackMap stack:
aload 0
iload 3
laload
l2d
dstore 4
start local 4 7: dload 4
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
dload 1
invokestatic com.google.common.primitives.Doubles.isFinite:(D)Z
ifeq 10
8: dload 1
dload 4
dload 1
dsub
iload 3
iconst_1
iadd
i2d
ddiv
dadd
dstore 1
9: goto 11
10: StackMap locals: double
StackMap stack:
dload 1
dload 4
invokestatic com.google.common.math.StatsAccumulator.calculateNewMeanNonFinite:(DD)D
dstore 1
end local 4 11: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
12: iload 3
aload 0
arraylength
if_icmplt 6
end local 3 13: dload 1
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 values [J
4 14 1 mean D
5 13 3 index I
7 11 4 value D
MethodParameters:
Name Flags
values
public byte[] toByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: bipush 40
invokestatic java.nio.ByteBuffer.allocate:(I)Ljava/nio/ByteBuffer;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
astore 1
start local 1 1: aload 0
aload 1
invokevirtual com.google.common.math.Stats.writeTo:(Ljava/nio/ByteBuffer;)V
2: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/google/common/math/Stats;
1 3 1 buff Ljava/nio/ByteBuffer;
void writeTo(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)V
flags: (0x0000)
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 1
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
bipush 40
if_icmplt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ldc "Expected at least Stats.BYTES = %s remaining , got %s"
4: bipush 40
5: aload 1
invokevirtual java.nio.ByteBuffer.remaining:()I
6: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;II)V
7: aload 1
8: aload 0
getfield com.google.common.math.Stats.count:J
invokevirtual java.nio.ByteBuffer.putLong:(J)Ljava/nio/ByteBuffer;
9: aload 0
getfield com.google.common.math.Stats.mean:D
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
10: aload 0
getfield com.google.common.math.Stats.sumOfSquaresOfDeltas:D
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
11: aload 0
getfield com.google.common.math.Stats.min:D
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
12: aload 0
getfield com.google.common.math.Stats.max:D
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
pop
13: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/google/common/math/Stats;
0 14 1 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
public static com.google.common.math.Stats fromByteArray(byte[]);
descriptor: ([B)Lcom/google/common/math/Stats;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
arraylength
bipush 40
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ldc "Expected Stats.BYTES = %s remaining , got %s"
4: bipush 40
5: aload 0
arraylength
6: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;II)V
7: aload 0
invokestatic java.nio.ByteBuffer.wrap:([B)Ljava/nio/ByteBuffer;
getstatic java.nio.ByteOrder.LITTLE_ENDIAN:Ljava/nio/ByteOrder;
invokevirtual java.nio.ByteBuffer.order:(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
invokestatic com.google.common.math.Stats.readFrom:(Ljava/nio/ByteBuffer;)Lcom/google/common/math/Stats;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 byteArray [B
MethodParameters:
Name Flags
byteArray
static com.google.common.math.Stats readFrom(java.nio.ByteBuffer);
descriptor: (Ljava/nio/ByteBuffer;)Lcom/google/common/math/Stats;
flags: (0x0008) ACC_STATIC
Code:
stack=12, locals=1, args_size=1
start local 0 0: aload 0
invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
bipush 40
if_icmplt 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ldc "Expected at least Stats.BYTES = %s remaining , got %s"
4: bipush 40
5: aload 0
invokevirtual java.nio.ByteBuffer.remaining:()I
6: invokestatic com.google.common.base.Preconditions.checkArgument:(ZLjava/lang/String;II)V
7: new com.google.common.math.Stats
dup
8: aload 0
invokevirtual java.nio.ByteBuffer.getLong:()J
9: aload 0
invokevirtual java.nio.ByteBuffer.getDouble:()D
10: aload 0
invokevirtual java.nio.ByteBuffer.getDouble:()D
11: aload 0
invokevirtual java.nio.ByteBuffer.getDouble:()D
12: aload 0
invokevirtual java.nio.ByteBuffer.getDouble:()D
13: invokespecial com.google.common.math.Stats.<init>:(JDDDD)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 buffer Ljava/nio/ByteBuffer;
MethodParameters:
Name Flags
buffer
}
SourceFile: "Stats.java"
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()