Interface IMap<K,V>

All Superinterfaces:
IModel, IValidable, Map<K,V>
All Known Subinterfaces:
IEmfMapAttribute<K,V,O>, IFormMap<K,V>, IMultilanguageFormattedTextModel, IMultilanguageModel
All Known Implementing Classes:
BmMap, BmMultilanguageFormatModel, BmMultilanguageFormattedTextModel, BmMultilanguageModel, EmfMap, EmfMoxelMultilanguageTextModel, EmfMultilanguageFormattedTextModel, EmfMultilanguageModel, EmfTimeScaleLevelMultilanguageModel, IMultilanguageFormattedTextModel.MultilanguageFormattedTextWorkingCopy, MapModel, MapWorkingCopy, PojoMap, StandardObjectMultilanguageModel

public interface IMap<K,V> extends IModel, Map<K,V>
The model of the map.
  • Method Details

    • fill

      void fill(Map<? extends K,? extends V> map)
      Clears the current stored map and adds all elements of the given map to the stored one.
      Parameters:
      map - the map to add.
    • isEqual

      boolean isEqual(Map<K,V> other)
      Checks the map for equality with the current stored map.
      Parameters:
      other - the other map to check.
      Returns:
      true if other map is equal to this map, false otherwise.
    • addMapListener

      void addMapListener(IMapListener<K,V> listener)
      Adds the map listener.
      Parameters:
      listener - the listener to add.
    • removeMapListener

      void removeMapListener(IMapListener<K,V> listener)
      Removes the map listener.
      Parameters:
      listener - the listener to add.
    • createWorkingCopy

      IMap<K,V> createWorkingCopy()
      Specified by:
      createWorkingCopy in interface IModel
      Returns:
      the model working copy or null if working copies is not supported by the model.