Class NamedItemModel<T>

  • Type Parameters:
    T - Type of element stored in model.
    All Implemented Interfaces:
    Map<String,​T>, SortedMap<String,​T>, ListModel<Map.Entry<String,​T>>

    @Deprecated
    public class NamedItemModel<T>
    extends AbstractMap<String,​T>
    implements ListModel<Map.Entry<String,​T>>, SortedMap<String,​T>
    Deprecated.
    Deprecated.
    Map linking key and some immutable object. Allows clients to listen for updates, additions and removals. Note that submaps will not fire events originating in the primary map. Renaming a key will trigger an add and a remove list event and a single update event. Change events are useful for propagating updates to existing dependents. List data events guaranteed to be fired before update events.