public final class com.google.common.math.PairedStats 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.PairedStats
super_class: java.lang.Object
{
private final com.google.common.math.Stats xStats;
descriptor: Lcom/google/common/math/Stats;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final com.google.common.math.Stats yStats;
descriptor: Lcom/google/common/math/Stats;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final double sumOfProductsOfDeltas;
descriptor: D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private static final int BYTES;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 88
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 0
void <init>(com.google.common.math.Stats, com.google.common.math.Stats, double);
descriptor: (Lcom/google/common/math/Stats;Lcom/google/common/math/Stats;D)V
flags: (0x0000)
Code:
stack=3, locals=5, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
2: aload 0
aload 2
putfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
3: aload 0
dload 3
putfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/math/PairedStats;
0 5 1 xStats Lcom/google/common/math/Stats;
0 5 2 yStats Lcom/google/common/math/Stats;
0 5 3 sumOfProductsOfDeltas D
MethodParameters:
Name Flags
xStats
yStats
sumOfProductsOfDeltas
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.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual 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/PairedStats;
public com.google.common.math.Stats xStats();
descriptor: ()Lcom/google/common/math/Stats;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/PairedStats;
public com.google.common.math.Stats yStats();
descriptor: ()Lcom/google/common/math/Stats;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/PairedStats;
public double populationCovariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.PairedStats.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.PairedStats.sumOfProductsOfDeltas:D
aload 0
invokevirtual com.google.common.math.PairedStats.count:()J
l2d
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/math/PairedStats;
public double sampleCovariance();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.PairedStats.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.PairedStats.sumOfProductsOfDeltas:D
aload 0
invokevirtual com.google.common.math.PairedStats.count:()J
lconst_1
lsub
l2d
ddiv
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/google/common/math/PairedStats;
public double pearsonsCorrelationCoefficient();
descriptor: ()D
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.PairedStats.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.PairedStats.sumOfProductsOfDeltas:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: ldc NaN
dreturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.google.common.math.PairedStats.xStats:()Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.sumOfSquaresOfDeltas:()D
dstore 1
start local 1 6: aload 0
invokevirtual com.google.common.math.PairedStats.yStats:()Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.sumOfSquaresOfDeltas:()D
dstore 3
start local 3 7: dload 1
dconst_0
dcmpl
ifle 8
iconst_1
goto 9
StackMap locals: double double
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
10: dload 3
dconst_0
dcmpl
ifle 11
iconst_1
goto 12
StackMap locals:
StackMap stack:
11: iconst_0
StackMap locals:
StackMap stack: int
12: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
13: dload 1
dload 3
dmul
invokestatic com.google.common.math.PairedStats.ensurePositive:(D)D
14: dstore 5
start local 5 15: aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
dload 5
invokestatic java.lang.Math.sqrt:(D)D
ddiv
invokestatic com.google.common.math.PairedStats.ensureInUnitRange:(D)D
dreturn
end local 5 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/common/math/PairedStats;
6 16 1 xSumOfSquaresOfDeltas D
7 16 3 ySumOfSquaresOfDeltas D
15 16 5 productOfSumsOfSquaresOfDeltas D
public com.google.common.math.LinearTransformation leastSquaresFit();
descriptor: ()Lcom/google/common/math/LinearTransformation;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.google.common.math.PairedStats.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.PairedStats.sumOfProductsOfDeltas:D
invokestatic java.lang.Double.isNaN:(D)Z
ifeq 5
4: invokestatic com.google.common.math.LinearTransformation.forNaN:()Lcom/google/common/math/LinearTransformation;
areturn
5: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.sumOfSquaresOfDeltas:()D
dstore 1
start local 1 6: dload 1
dconst_0
dcmpl
ifle 12
7: aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.sumOfSquaresOfDeltas:()D
dconst_0
dcmpl
ifle 11
8: aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.mean:()D
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.mean:()D
invokestatic com.google.common.math.LinearTransformation.mapping:(DD)Lcom/google/common/math/LinearTransformation$LinearTransformationBuilder;
9: aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
dload 1
ddiv
invokevirtual com.google.common.math.LinearTransformation$LinearTransformationBuilder.withSlope:(D)Lcom/google/common/math/LinearTransformation;
10: areturn
11: StackMap locals: double
StackMap stack:
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.mean:()D
invokestatic com.google.common.math.LinearTransformation.horizontal:(D)Lcom/google/common/math/LinearTransformation;
areturn
12: StackMap locals:
StackMap stack:
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.sumOfSquaresOfDeltas:()D
dconst_0
dcmpl
ifle 13
iconst_1
goto 14
StackMap locals:
StackMap stack:
13: iconst_0
StackMap locals:
StackMap stack: int
14: invokestatic com.google.common.base.Preconditions.checkState:(Z)V
15: aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.mean:()D
invokestatic com.google.common.math.LinearTransformation.vertical:(D)Lcom/google/common/math/LinearTransformation;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lcom/google/common/math/PairedStats;
6 16 1 xSumOfSquaresOfDeltas D
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.PairedStats
astore 2
start local 2 5: aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
aload 2
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.equals:(Ljava/lang/Object;)Z
ifeq 11
6: aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
aload 2
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.math.Stats.equals:(Ljava/lang/Object;)Z
ifeq 11
7: aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
8: aload 2
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
invokestatic java.lang.Double.doubleToLongBits:(D)J
9: lcmp
ifne 11
10: iconst_1
ireturn
StackMap locals: com.google.common.math.PairedStats
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/PairedStats;
0 12 1 obj Ljava/lang/Object;
5 12 2 other Lcom/google/common/math/PairedStats;
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_3
anewarray java.lang.Object
dup
iconst_0
aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
aastore
dup
iconst_1
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
aastore
dup
iconst_2
aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas: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/PairedStats;
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.PairedStats.count:()J
lconst_0
lcmp
ifle 7
1: aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
2: ldc "xStats"
aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
3: ldc "yStats"
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
4: ldc "populationCovariance"
aload 0
invokevirtual com.google.common.math.PairedStats.populationCovariance:()D
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;D)Lcom/google/common/base/MoreObjects$ToStringHelper;
5: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
6: areturn
7: StackMap locals:
StackMap stack:
aload 0
invokestatic com.google.common.base.MoreObjects.toStringHelper:(Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
8: ldc "xStats"
aload 0
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
9: ldc "yStats"
aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
invokevirtual com.google.common.base.MoreObjects$ToStringHelper.add:(Ljava/lang/String;Ljava/lang/Object;)Lcom/google/common/base/MoreObjects$ToStringHelper;
10: invokevirtual com.google.common.base.MoreObjects$ToStringHelper.toString:()Ljava/lang/String;
11: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lcom/google/common/math/PairedStats;
double sumOfProductsOfDeltas();
descriptor: ()D
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/google/common/math/PairedStats;
private static double ensurePositive(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
dconst_0
dcmpl
ifle 2
1: dload 0
dreturn
2: StackMap locals:
StackMap stack:
ldc 4.9E-324
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 value D
MethodParameters:
Name Flags
value
private static double ensureInUnitRange(double);
descriptor: (D)D
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: dload 0
dconst_1
dcmpl
iflt 2
1: dconst_1
dreturn
2: StackMap locals:
StackMap stack:
dload 0
ldc -1.0
dcmpg
ifgt 4
3: ldc -1.0
dreturn
4: StackMap locals:
StackMap stack:
dload 0
dreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 value D
MethodParameters:
Name Flags
value
public byte[] toByteArray();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: bipush 88
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
getfield com.google.common.math.PairedStats.xStats:Lcom/google/common/math/Stats;
aload 1
invokevirtual com.google.common.math.Stats.writeTo:(Ljava/nio/ByteBuffer;)V
2: aload 0
getfield com.google.common.math.PairedStats.yStats:Lcom/google/common/math/Stats;
aload 1
invokevirtual com.google.common.math.Stats.writeTo:(Ljava/nio/ByteBuffer;)V
3: aload 1
aload 0
getfield com.google.common.math.PairedStats.sumOfProductsOfDeltas:D
invokevirtual java.nio.ByteBuffer.putDouble:(D)Ljava/nio/ByteBuffer;
pop
4: aload 1
invokevirtual java.nio.ByteBuffer.array:()[B
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lcom/google/common/math/PairedStats;
1 5 1 buffer Ljava/nio/ByteBuffer;
public static com.google.common.math.PairedStats fromByteArray(byte[]);
descriptor: ([B)Lcom/google/common/math/PairedStats;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, 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 88
if_icmpne 2
iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
3: StackMap locals:
StackMap stack: int
ldc "Expected PairedStats.BYTES = %s, got %s"
4: bipush 88
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;
astore 1
start local 1 8: aload 1
invokestatic com.google.common.math.Stats.readFrom:(Ljava/nio/ByteBuffer;)Lcom/google/common/math/Stats;
astore 2
start local 2 9: aload 1
invokestatic com.google.common.math.Stats.readFrom:(Ljava/nio/ByteBuffer;)Lcom/google/common/math/Stats;
astore 3
start local 3 10: aload 1
invokevirtual java.nio.ByteBuffer.getDouble:()D
dstore 4
start local 4 11: new com.google.common.math.PairedStats
dup
aload 2
aload 3
dload 4
invokespecial com.google.common.math.PairedStats.<init>:(Lcom/google/common/math/Stats;Lcom/google/common/math/Stats;D)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 byteArray [B
8 12 1 buffer Ljava/nio/ByteBuffer;
9 12 2 xStats Lcom/google/common/math/Stats;
10 12 3 yStats Lcom/google/common/math/Stats;
11 12 4 sumOfProductsOfDeltas D
MethodParameters:
Name Flags
byteArray
}
SourceFile: "PairedStats.java"
InnerClasses:
public final ToStringHelper = com.google.common.base.MoreObjects$ToStringHelper of com.google.common.base.MoreObjects
public final LinearTransformationBuilder = com.google.common.math.LinearTransformation$LinearTransformationBuilder of com.google.common.math.LinearTransformation
RuntimeInvisibleAnnotations:
com.google.common.annotations.Beta()
com.google.common.annotations.GwtIncompatible()