# Uses of Class org.deidentifier.arx.aggregates.HierarchyBuilderGroupingBased.Level (ARX Developer Documentation)

## Uses of Class
org.deidentifier.arx.aggregates.HierarchyBuilderGroupingBased.Level

- Packages that use HierarchyBuilderGroupingBased.Level
  Package | Description
  --- | ---
  org.deidentifier.arx.aggregates | This package provides methods for aggregating data.

- - ### Uses of HierarchyBuilderGroupingBased.Level in org.deidentifier.arx.aggregates

    Methods in org.deidentifier.arx.aggregates that return HierarchyBuilderGroupingBased.Level
    Modifier and Type | Method and Description
    --- | ---
    `HierarchyBuilderGroupingBased.Level<U>` | HierarchyBuilderGroupingBased.Level.`addGroup(int size)` Adds the given group with the default aggregate function.
    `HierarchyBuilderGroupingBased.Level<U>` | HierarchyBuilderGroupingBased.Level.`addGroup(int size, AggregateFunction<U> function)` Adds the given group with the given aggregate function.
    `HierarchyBuilderGroupingBased.Level<U>` | HierarchyBuilderGroupingBased.Level.`addGroup(int size, java.lang.String label)` Adds the given group.
    `HierarchyBuilderGroupingBased.Level<U>` | HierarchyBuilderGroupingBased.Level.`clearGroups()` Removes all groups on this level.
    `HierarchyBuilderGroupingBased.Level<T>` | HierarchyBuilderGroupingBased.`getLevel(int level)` Returns the given level.

    Methods in org.deidentifier.arx.aggregates that return types with arguments of type HierarchyBuilderGroupingBased.Level
    Modifier and Type | Method and Description
    --- | ---
    `java.util.List<HierarchyBuilderGroupingBased.Level<T>>` | HierarchyBuilderGroupingBased.`getLevels()` Returns all currently defined levels.

    Method parameters in org.deidentifier.arx.aggregates with type arguments of type HierarchyBuilderGroupingBased.Level
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | HierarchyBuilderIntervalBased.`setLevels(java.util.List<HierarchyBuilderGroupingBased.Level<T>> levels)` Sets the groups on higher levels of the hierarchy.
    `protected void` | HierarchyBuilderGroupingBased.`setLevels(java.util.List<HierarchyBuilderGroupingBased.Level<T>> levels)` Sets the groups on higher levels of the hierarchy.