Interface MapChangeTracker

    • Method Detail

      • getTrackKeys

        boolean getTrackKeys()
        Whether to track keys or values. Defaults to keys. If you set to values, it is assumed there is a 1-1 correlation between keys and values in this map.
      • setTrackKeys

        void setTrackKeys​(boolean keys)
        Whether to track keys or values. Defaults to keys. If you set to values, it is assumed there is a 1-1 correlation between keys and values in this map.
      • added

        void added​(Object key,
                   Object val)
        Record that the given entry was added to the map.
      • removed

        void removed​(Object key,
                     Object val)
        Record that the given entry was removed from the map.
      • changed

        void changed​(Object key,
                     Object oldVal,
                     Object newVal)
        Record that the given entry was altered.