Klasse Groupify<T>

java.lang.Object
org.deidentifier.arx.common.Groupify<T>
Typparameter:
T -

public class Groupify<T> extends Object
A hash groupify operator. It implements a hash table with chaining and keeps track of additional properties per equivalence class
  • Verschachtelte Klassen - Übersicht

    Verschachtelte Klassen
    Modifizierer und Typ
    Klasse
    Beschreibung
    static class 
    Entry
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    Groupify(int capacity)
    Constructs a new hash groupify operator.
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    add(T element)
    Adds a new element
    Returns the first entry for iterations
    get(T element)
    Returns the matching entry, if any
    int
    Returns the current number of entries

    Von Klasse geerbte Methoden java.lang.Object

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

    • Groupify

      public Groupify(int capacity)
      Constructs a new hash groupify operator.
      Parameter:
      capacity - The capacity
  • Methodendetails

    • add

      public void add(T element)
      Adds a new element
      Parameter:
      element -
    • first

      public Groupify.Group<T> first()
      Returns the first entry for iterations
      Gibt zurück:
    • get

      public Groupify.Group<T> get(T element)
      Returns the matching entry, if any
      Parameter:
      element -
      Gibt zurück:
    • size

      public int size()
      Returns the current number of entries
      Gibt zurück: