3 ms·
Java9 also has the Map.ofEntries() method. Map.merge() supports supplying a BiFunction for resolution. And Java8 streams make it easy to write composeable, arbi
by cromwellian 9y ago
Java9 also has the Map.ofEntries() method. Map.merge() supports supplying a BiFunction for resolution. And Java8 streams make it easy to write composeable, arbitrary merge functions.