vacuumlabs/persistent

Map#union and Map#intersection implementation is not general

Closed this issue · 1 comments

Both TransientMapImpl and PersistentMapImpl are implementing union and intersection only with instances of their type and not with any ReadMap as expected (not even TransientMap or PersistentMap).

This will not work with custom ReadMaps.

Note that union and intersection are moved to the PersistentMap now. However, implementation is still just for PersistentMapImpl