Package: groovy.util

## [Java] Class ObservableSet.ElementClearedEvent

- groovy.util.ObservableSet.ElementClearedEvent

-     public static class ObservableSet.ElementClearedEvent
      extends ElementEvent

  Event fired when the set is cleared.

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ElementClearedEvent(Object source, List values)` Creates a cleared-set event.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `public List` | `getValues()` Returns the removed elements.

- - ### Constructor Detail

    - #### public ElementClearedEvent(Object source, List values)

      Creates a cleared-set event.

      Parameters:
        `source` - the event source
        `values` - the removed elements

  - ### Method Detail

    - #### public List getValues()

      Returns the removed elements.

      Returns:
        an unmodifiable view of removed elements