public class org.apache.commons.math3.stat.clustering.EuclideanDoublePoint implements org.apache.commons.math3.stat.clustering.Clusterable<org.apache.commons.math3.stat.clustering.EuclideanDoublePoint>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 8026472786091227632
private final double[] point;
descriptor: [D
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(double[]);
descriptor: ([D)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
0 3 1 point [D
MethodParameters:
Name Flags
point final
public org.apache.commons.math3.stat.clustering.EuclideanDoublePoint centroidOf(java.util.Collection<org.apache.commons.math3.stat.clustering.EuclideanDoublePoint>);
descriptor: (Ljava/util/Collection;)Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.getPoint:()[D
arraylength
newarray 7
astore 2
start local 2 1: aload 1
invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
astore 4
goto 8
StackMap locals: org.apache.commons.math3.stat.clustering.EuclideanDoublePoint java.util.Collection double[] top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
astore 3
start local 3 3: iconst_0
istore 5
start local 5 4: goto 7
5: StackMap locals: org.apache.commons.math3.stat.clustering.EuclideanDoublePoint java.util.Collection double[] org.apache.commons.math3.stat.clustering.EuclideanDoublePoint java.util.Iterator int
StackMap stack:
aload 2
iload 5
dup2
daload
aload 3
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.getPoint:()[D
iload 5
daload
dadd
dastore
6: iinc 5 1
StackMap locals:
StackMap stack:
7: iload 5
aload 2
arraylength
if_icmplt 5
end local 5 end local 3 8: StackMap locals: org.apache.commons.math3.stat.clustering.EuclideanDoublePoint java.util.Collection double[] top java.util.Iterator
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
9: iconst_0
istore 3
start local 3 10: goto 13
11: StackMap locals: org.apache.commons.math3.stat.clustering.EuclideanDoublePoint java.util.Collection double[] int
StackMap stack:
aload 2
iload 3
dup2
daload
aload 1
invokeinterface java.util.Collection.size:()I
i2d
ddiv
dastore
12: iinc 3 1
StackMap locals:
StackMap stack:
13: iload 3
aload 2
arraylength
if_icmplt 11
end local 3 14: new org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
dup
aload 2
invokespecial org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.<init>:([D)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
0 15 1 points Ljava/util/Collection<Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;>;
1 15 2 centroid [D
3 8 3 p Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
4 8 5 i I
10 14 3 i I
Signature: (Ljava/util/Collection<Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;>;)Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
MethodParameters:
Name Flags
points final
public double distanceFrom(org.apache.commons.math3.stat.clustering.EuclideanDoublePoint);
descriptor: (Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;)D
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
aload 1
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.getPoint:()[D
invokestatic org.apache.commons.math3.util.MathArrays.distance:([D[D)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
0 1 1 p Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
MethodParameters:
Name Flags
p final
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
aload 1
checkcast org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
invokestatic java.util.Arrays.equals:([D[D)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other final
public double[] getPoint();
descriptor: ()[D
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
invokestatic java.util.Arrays.hashCode:([D)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.point:[D
invokestatic java.util.Arrays.toString:([D)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
public double distanceFrom(java.lang.Object);
descriptor: (Ljava/lang/Object;)D
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast org.apache.commons.math3.stat.clustering.EuclideanDoublePoint
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.distanceFrom:(Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;)D
dreturn
LocalVariableTable:
Start End Slot Name Signature
public java.lang.Object centroidOf(java.util.Collection);
descriptor: (Ljava/util/Collection;)Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.Collection
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanDoublePoint.centroidOf:(Ljava/util/Collection;)Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/commons/math3/stat/clustering/Clusterable<Lorg/apache/commons/math3/stat/clustering/EuclideanDoublePoint;>;Ljava/io/Serializable;
SourceFile: "EuclideanDoublePoint.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()