overview
Origin
The earliest Map-related tools were included in CollUtil, but considering that Map and collection are not the same type of data structure, they were separated and Hutool encapsulates many custom Map classes, so they are packaged separately.
Usage
Special Map
CaseInsensitiveMap
: A Map that ignores case. It ignores the case of the KEY, so get(“Value”) and get(“value”) will return the same value, and the value entered by put will be overwritten.CaseInsensitiveLinkedMap
: A LinkedHashMap that ignores case. It ignores the case of the KEY, so get(“Value”) and get(“value”) will return the same value, and the value entered by put will be overwritten.MapBuilder
: A Map creator that allows chained creation of Map.MapProxy
: A Map proxy class that wraps Map through proxy and provides a series of getXXX methods.
Tools
MapUtil
: Provides encapsulation of common operations on Map.