Col-E / ExtraCollections

Extra useful collection types and utilities
MIT License
6 stars 1 forks source link

Make observable map change have 'replaced' items #9

Open Col-E opened 1 year ago

Col-E commented 1 year ago

Representing replacement as add/remove in separate events does not feel semantically correct.

https://github.com/Col-E/ExtraCollections/blob/master/src/main/java/software/coley/collections/observable/ObservableMap.java#L100