Klasse FastIntDoubleMap

java.lang.Object
org.deidentifier.arx.common.FastIntDoubleMap

public class FastIntDoubleMap extends Object
A very basic map using golden ratio hashing and linear probing.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    FastIntDoubleMap(int size)
    Creates a new instance
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    double
    get(int key, double _default)
    Returns the associated value, default if not found
    void
    put(int key, double value)
    Puts a value into this map

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: