public class org.apache.commons.math.ml.clustering.DoublePoint extends java.lang.Object implements org.apache.commons.math.ml.clustering.Clusterable, java.io.Serializable
{
private static final long serialVersionUID;
private final double[] point;
public void <init>(double[])
{
double[] v;
org.apache.commons.math.ml.clustering.DoublePoint v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v := @parameter: double[];
specialinvoke v.<java.lang.Object: void <init>()>();
v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point> = v;
return;
}
public void <init>(int[])
{
double[] v, v;
int[] v;
int v, v, v, v;
org.apache.commons.math.ml.clustering.DoublePoint v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v := @parameter: int[];
specialinvoke v.<java.lang.Object: void <init>()>();
v = lengthof v;
v = newarray (double)[v];
v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point> = v;
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
v = v[v];
v[v] = v;
v = v + 1;
goto label;
label:
return;
}
public double[] getPoint()
{
double[] v;
org.apache.commons.math.ml.clustering.DoublePoint v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
return v;
}
public boolean equals(java.lang.Object)
{
double[] v, v;
java.lang.Object v;
org.apache.commons.math.ml.clustering.DoublePoint v;
boolean v, v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v := @parameter: java.lang.Object;
v = v instanceof org.apache.commons.math.ml.clustering.DoublePoint;
if v != 0 goto label;
return 0;
label:
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
v = staticinvoke <java.util.Arrays: boolean equals(double[],double[])>(v, v);
return v;
}
public int hashCode()
{
double[] v;
int v;
org.apache.commons.math.ml.clustering.DoublePoint v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
v = staticinvoke <java.util.Arrays: int hashCode(double[])>(v);
return v;
}
public java.lang.String toString()
{
double[] v;
java.lang.String v;
org.apache.commons.math.ml.clustering.DoublePoint v;
v := @this: org.apache.commons.math.ml.clustering.DoublePoint;
v = v.<org.apache.commons.math.ml.clustering.DoublePoint: double[] point>;
v = staticinvoke <java.util.Arrays: java.lang.String toString(double[])>(v);
return v;
}
}