Closed olme04 closed 2 years ago
IntObjectMap implements Map and as so it has methods:
IntObjectMap
Map
default V putIfAbsent(K key, V value)
default boolean remove(Object key, Object value)
Those declarations uses Object for keys, and not specified for usage of int primitive as key, and as so it autobox them.
Object
int
IntObjectMap
implementsMap
and as so it has methods:default V putIfAbsent(K key, V value)
default boolean remove(Object key, Object value)
Those declarations uses
Object
for keys, and not specified for usage ofint
primitive as key, and as so it autobox them.