You can modify your map and then revert to the last committed state.
cacheMap, use it to decorate slow map implementations
Decorates java.util.Map with event-based functionality. 1) If the decorated map will be accessed. the OnGetEvent will be fired 2) If any objects will be removed from decorated map then the OnRemoveEvent will be fired 3) if any object will be added then OnAddEvent will be fired The map is fully decorated, for example if you use entrySet() or values() methods to get collections view of the map and you access or modify returned collections then the map fires all events.
EventSortedMap which can be used to decorates java.util.SortedMap interface with event functionality.
this class represent the abstract Map decorator you can extend your own classes from this one to create your own decorators
the decorator makes a map multithread safe, it decorates all methods entriesSet() and returns synchronized collections back.
map which makes another map multi-thread safe
this map removes all added key-value pairs after they were not used for long time.
decorates map to be unmodifieable, you can coose unmodication strategy, thus the map can be partlly modifieable.
decorates SortedMap to be unmodifieable, you can coose unmodication strategy, thus the map can be partlly modifieable.