Class MapUtil
java.lang.Object
io.getlime.security.powerauth.lib.cmd.util.MapUtil
Map utilities.
- Author:
- Roman Strobl, roman.strobl@wultra.com
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> org.springframework.util.MultiValueMap <K, V> toMultiValueMap(Map<K, V> map) Maps a standard map data to a multi-value map where is a key mapped to a collection of values.
-
Constructor Details
-
MapUtil
public MapUtil()
-
-
Method Details
-
toMultiValueMap
Maps a standard map data to a multi-value map where is a key mapped to a collection of values.- Type Parameters:
K- Type of the map keyV- Type of the map value- Parameters:
map- Map to be converted to a multi-value map- Returns:
- Multi-value map created from a standard map data
-