Closed yegor256 closed 3 years ago
@yegor256 ok let's do that as well a introduce MapOf(X, Y)
. And also update the javadoc of the class because it's clearly incorrect.
@0crat in
@yegor256 this was implemented in #1625
@victornoel thanks!
@0crat status
@0crat status
How about we introduce a new ctor for
MapOf
, which will accept the existingMap
, a new keyX
, and a new valueY
. This will be much more convenient than creating an instance ofMap.Entry
for a single entry.