Class MapWorkingCopy<K,​V>

    • Constructor Detail

      • MapWorkingCopy

        public MapWorkingCopy​(IMap<K,​V> original)
        Instantiates a new map working copy.
        Parameters:
        original - the original map.
    • Method Detail

      • getChange

        public IChange getChange()
        Returns:
        change describing the modifications done to the model.
      • isOnline

        public boolean isOnline()
        Specified by:
        isOnline in interface IModel
        Overrides:
        isOnline in class Model
        Returns:
        true if this model is online, false otherwise.
      • getOriginalModel

        protected final IMap<K,​V> getOriginalModel()
        Returns the original map model.
        Returns:
        the original map model.