public class oadd.com.carrotsearch.hppc.IntDoubleScatterMap extends oadd.com.carrotsearch.hppc.IntDoubleHashMap
{
public void <init>()
{
oadd.com.carrotsearch.hppc.IntDoubleScatterMap v;
v := @this: oadd.com.carrotsearch.hppc.IntDoubleScatterMap;
specialinvoke v.<oadd.com.carrotsearch.hppc.IntDoubleScatterMap: void <init>(int)>(4);
return;
}
public void <init>(int)
{
int v;
oadd.com.carrotsearch.hppc.IntDoubleScatterMap v;
v := @this: oadd.com.carrotsearch.hppc.IntDoubleScatterMap;
v := @parameter: int;
specialinvoke v.<oadd.com.carrotsearch.hppc.IntDoubleScatterMap: void <init>(int,double)>(v, 0.75);
return;
}
public void <init>(int, double)
{
oadd.com.carrotsearch.hppc.IntDoubleScatterMap v;
oadd.com.carrotsearch.hppc.HashOrderMixingStrategy v;
int v;
double v;
v := @this: oadd.com.carrotsearch.hppc.IntDoubleScatterMap;
v := @parameter: int;
v := @parameter: double;
v = staticinvoke <oadd.com.carrotsearch.hppc.HashOrderMixing: oadd.com.carrotsearch.hppc.HashOrderMixingStrategy none()>();
specialinvoke v.<oadd.com.carrotsearch.hppc.IntDoubleHashMap: void <init>(int,double,oadd.com.carrotsearch.hppc.HashOrderMixingStrategy)>(v, v, v);
return;
}
protected int hashKey(int)
{
int v, v;
oadd.com.carrotsearch.hppc.IntDoubleScatterMap v;
v := @this: oadd.com.carrotsearch.hppc.IntDoubleScatterMap;
v := @parameter: int;
v = staticinvoke <oadd.com.carrotsearch.hppc.BitMixer: int mixPhi(int)>(v);
return v;
}
public static oadd.com.carrotsearch.hppc.IntDoubleScatterMap 'from'(int[], double[])
{
double[] v;
java.lang.IllegalArgumentException v;
oadd.com.carrotsearch.hppc.IntDoubleScatterMap v;
int[] v;
int v, v, v, v, v, v;
double v;
v := @parameter: int[];
v := @parameter: double[];
v = lengthof v;
v = lengthof v;
if v == v goto label;
v = new java.lang.IllegalArgumentException;
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>("Arrays of keys and values must have an identical length.");
throw v;
label:
v = new oadd.com.carrotsearch.hppc.IntDoubleScatterMap;
v = lengthof v;
specialinvoke v.<oadd.com.carrotsearch.hppc.IntDoubleScatterMap: void <init>(int)>(v);
v = 0;
label:
v = lengthof v;
if v >= v goto label;
v = v[v];
v = v[v];
virtualinvoke v.<oadd.com.carrotsearch.hppc.IntDoubleScatterMap: double put(int,double)>(v, v);
v = v + 1;
goto label;
label:
return v;
}
}