java.lang.Object
io.getlime.security.powerauth.lib.cmd.util.MapUtil

public class MapUtil extends Object
Map utilities.
Author:
Roman Strobl, roman.strobl@wultra.com
  • Constructor Details

    • MapUtil

      public MapUtil()
  • Method Details

    • toMultiValueMap

      public static <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.
      Type Parameters:
      K - Type of the map key
      V - 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