yegor256 / cactoos

Object-Oriented Java primitives, as an alternative to Google Guava and Apache Commons
https://www.cactoos.org
MIT License
739 stars 164 forks source link

org.cactoos.map.Diff - a new object which gives difference for several maps #1387

Open dgroup opened 4 years ago

dgroup commented 4 years ago

This feature already available in Guava https://guava.dev/releases/23.0/api/docs/com/google/common/collect/Maps.html#difference-java.util.Map-java.util.Map-

however only for 2 maps, so it might be changed to something like

final Map<String, String> diff = new Diff<>(map1, map2, ..., mapN);
0crat commented 4 years ago

@paulodamaso/z please, pay attention to this issue

andreoss commented 4 years ago

A Diff which is Set should be implemented prior to that