public class org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint implements org.apache.commons.math3.stat.clustering.Clusterable<org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint>, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 3946024775784901369
private final int[] point;
descriptor: [I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int[]);
descriptor: ([I)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.EuclideanIntegerPoint.point:[I
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
0 3 1 point [I
MethodParameters:
Name Flags
point final
public int[] getPoint();
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.EuclideanIntegerPoint.point:[I
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
public double distanceFrom(org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint);
descriptor: (Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;)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.EuclideanIntegerPoint.point:[I
aload 1
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.getPoint:()[I
invokestatic org.apache.commons.math3.util.MathArrays.distance:([I[I)D
dreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
0 1 1 p Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
MethodParameters:
Name Flags
p final
public org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint centroidOf(java.util.Collection<org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint>);
descriptor: (Ljava/util/Collection;)Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.getPoint:()[I
arraylength
newarray 10
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.EuclideanIntegerPoint java.util.Collection int[] top java.util.Iterator
StackMap stack:
2: aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint
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.EuclideanIntegerPoint java.util.Collection int[] org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint java.util.Iterator int
StackMap stack:
aload 2
iload 5
dup2
iaload
aload 3
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.getPoint:()[I
iload 5
iaload
iadd
iastore
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.EuclideanIntegerPoint java.util.Collection int[] 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.EuclideanIntegerPoint java.util.Collection int[] int
StackMap stack:
aload 2
iload 3
dup2
iaload
aload 1
invokeinterface java.util.Collection.size:()I
idiv
iastore
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.EuclideanIntegerPoint
dup
aload 2
invokespecial org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.<init>:([I)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/EuclideanIntegerPoint;
0 15 1 points Ljava/util/Collection<Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;>;
1 15 2 centroid [I
3 8 3 p Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
4 8 5 i I
10 14 3 i I
Signature: (Ljava/util/Collection<Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;>;)Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
MethodParameters:
Name Flags
points 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.EuclideanIntegerPoint
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.point:[I
aload 1
checkcast org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint
getfield org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.point:[I
invokestatic java.util.Arrays.equals:([I[I)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
0 3 1 other Ljava/lang/Object;
MethodParameters:
Name Flags
other final
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.EuclideanIntegerPoint.point:[I
invokestatic java.util.Arrays.hashCode:([I)I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
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.EuclideanIntegerPoint.point:[I
invokestatic java.util.Arrays.toString:([I)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
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.EuclideanIntegerPoint
invokevirtual org.apache.commons.math3.stat.clustering.EuclideanIntegerPoint.distanceFrom:(Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;)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.EuclideanIntegerPoint.centroidOf:(Ljava/util/Collection;)Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Lorg/apache/commons/math3/stat/clustering/Clusterable<Lorg/apache/commons/math3/stat/clustering/EuclideanIntegerPoint;>;Ljava/io/Serializable;
SourceFile: "EuclideanIntegerPoint.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()