You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add new methods in KiwiMaps that permit creating unmodifiable maps using the same varargs syntax (i.e. Object items...) that the existing methods do. While Java's Map#of has variants that accept up to 10 key/value pairs, if there are more than that you must use the Map#ofEntries that accepts entry objects. In addition, at least for regular old HashMap and LinkedHashMap, we can permit null keys and values.
The text was updated successfully, but these errors were encountered:
* newUnmodifiableHashMap
* newUnmodifiableLinkedHashMap
* newUnmodifiableTreeMap
* newUnmodifiableConcurrentHashMap
Misc:
* change <i> tags in javadoc to use <em> since <i> is deprecated
Closes#811
* newUnmodifiableHashMap
* newUnmodifiableLinkedHashMap
* newUnmodifiableTreeMap
* newUnmodifiableConcurrentHashMap
Misc:
* change <i> tags in javadoc to use <em> since <i> is deprecated
Closes#811
Add new methods in
KiwiMaps
that permit creating unmodifiable maps using the same varargs syntax (i.e.Object items...
) that the existing methods do. While Java'sMap#of
has variants that accept up to 10 key/value pairs, if there are more than that you must use theMap#ofEntries
that acceptsentry
objects. In addition, at least for regular oldHashMap
andLinkedHashMap
, we can permitnull
keys and values.The text was updated successfully, but these errors were encountered: