Uses of Class
org.klojang.util.collection.EnumToIntMap
Package
Description
Garden-variety extensions to the Collections Framework.
-
Uses of EnumToIntMap in org.klojang.util.collection
Modifier and TypeMethodDescriptionMuch likeput
, but provides a fluent API for adding entries to the map.Modifier and TypeMethodDescriptionvoid
EnumToIntMap.putAll
(EnumToIntMap<K> other) Adds all entries of the specified map to this map, overwriting any previous values.ModifierConstructorDescriptionEnumToIntMap
(EnumToIntMap<K> other) Instantiates a newEnumToIntMap
with the same key-value mappings as the specifiedEnumToIntMap
and with the same key-absent-value value.EnumToIntMap
(EnumToIntMap<K> other, int keyAbsentValue) Instantiates a newEnumToIntMap
with the same key-value mappings as the specifiedEnumToIntMap
, but (potentially) with a new key-absent-value.