Klasse IntArrayDictionary

java.lang.Object
org.deidentifier.arx.framework.check.distribution.IntArrayDictionary

public class IntArrayDictionary extends Object
A hash groupify operator.
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    IntArrayDictionary(int capacity)
    Constructs a new dictionary.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    Clears the dictionary.
    void
    decrementRefCount(int index)
    Removes a element from the dictionary.
    int[]
    get(int index)
    Returns the according entry.
    int
    probe(int[] key)
    Probes the dictionary and either inserts a new entry index or returns the corresponding entry index.

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • IntArrayDictionary

      public IntArrayDictionary(int capacity)
      Constructs a new dictionary.
      Parameter:
      capacity - the capacity
  • Methodendetails

    • clear

      public void clear()
      Clears the dictionary.
    • decrementRefCount

      public void decrementRefCount(int index)
      Removes a element from the dictionary.
      Parameter:
      index -
    • get

      public int[] get(int index)
      Returns the according entry.
      Parameter:
      index -
      Gibt zurück:
    • probe

      public int probe(int[] key)
      Probes the dictionary and either inserts a new entry index or returns the corresponding entry index.
      Parameter:
      key - the key
      Gibt zurück: