Package org.deidentifier.arx.common
Klasse FastIntDoubleMap
java.lang.Object
org.deidentifier.arx.common.FastIntDoubleMap
A very basic map using golden ratio hashing and linear probing.
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
-
Konstruktordetails
-
FastIntDoubleMap
public FastIntDoubleMap(int size) Creates a new instance- Parameter:
size-
-
-
Methodendetails
-
put
public void put(int key, double value) Puts a value into this map- Parameter:
key-value-
-
get
public double get(int key, double _default) Returns the associated value, default if not found- Parameter:
key-_default-- Gibt zurück:
-