de.caff.generics

## Interface ActiveListListener<T>

- Type Parameters:
    `T` - list type

      public interface ActiveListListener<T>

  A listener for `active lists`.

  In general a listener should not change the list during its call.

  Author:
    Rammi

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `itemAdded(int index, T item)` Called when an item was added.
    `void` | `itemExchanged(int index, T oldItem, T newItem)` Called when an item was exchanged.
    `void` | `itemRemoved(int index, T item)` Called when an item was removed.

- - ### Method Detail

    - #### itemAdded

          void itemAdded(int index,
                         T item)

      Called when an item was added.
      Parameters:
        `index` - where item was added
        `item` - added item

    - #### itemRemoved

          void itemRemoved(int index,
                           T item)

      Called when an item was removed.
      Parameters:
        `index` - index which the item had before it was removed
        `item` - removed item

    - #### itemExchanged

          void itemExchanged(int index,
                             T oldItem,
                             T newItem)

      Called when an item was exchanged.
      Parameters:
        `index` - index where the exchange did happen
        `oldItem` - old item which was removed
        `newItem` - new item which was added