Package com.enonic.xp.aggregation

## Class Aggregations

- java.lang.Object
- - com.enonic.xp.support.AbstractImmutableEntitySet<Aggregation>
  - - com.enonic.xp.aggregation.Aggregations

- All Implemented Interfaces:
    `Iterable<Aggregation>`

      @PublicApi
      public class Aggregations
      extends AbstractImmutableEntitySet<Aggregation>

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---
    `static class` | `Aggregations.Builder` |

  - ### Field Summary

    - ### Fields inherited from class com.enonic.xp.support.AbstractImmutableEntitySet

      `set`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Aggregations.Builder` | `create()` |
    `static Aggregations` | `empty()` |
    `static Aggregations` | `from​(Aggregation... aggregations)` |
    `static Aggregations` | `from​(ImmutableSet<Aggregation> aggregations)` | Deprecated.
    `static Aggregations` | `from​(Iterable<Aggregation> aggregations)` |
    `Aggregation` | `get​(String name)` |

    - ### Methods inherited from class com.enonic.xp.support.AbstractImmutableEntitySet

      `contains, equals, first, getSet, getSize, hashCode, isEmpty, isNotEmpty, iterator, stream, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface java.lang.Iterable

      `forEach, spliterator`

- - ### Method Detail

    - #### empty

          public static Aggregations empty()

    - #### from

          @Deprecated
          public static Aggregations from​(ImmutableSet<Aggregation> aggregations)

      Deprecated.

    - #### from

          public static Aggregations from​(Iterable<Aggregation> aggregations)

    - #### from

          public static Aggregations from​(Aggregation... aggregations)

    - #### get

          public Aggregation get​(String name)

    - #### create

          public static Aggregations.Builder create()