public class MapAdapters extends Object
| Constructor and Description |
|---|
MapAdapters() |
public static Map<String,String> adapt(Map<String,String[]> adapted)
Adapt a Map map as a Map map. The adapted map
must not contain null string array or zero lenght string array, if the map contains such values then the
map state is considered as not valid and IllegalStateException can be thrown when the adapted map
The adapted map is writable but does not accept null values for write operations. On a put operation the adapted map will receive a put operation with a string array of length one containing the provided value.
adapted - the adapted mapCopyright © 2025 JBoss by Red Hat. All Rights Reserved.