Package io.sundr.utils
Class Maps
java.lang.Object
io.sundr.utils.Maps
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> Map<K, V> create(K key, V value) static <K,V> Map<K, V> create(K key1, V value1, K key2, V value2) static <K,V> Map<K, V> create(K key1, V value1, K key2, V value2, K key3, V value3) static StringextractKey(String mapping) Extract the key from the mappingstatic StringextractValue(String mapping) Extract the value from the mapping
-
Method Details
-
extractKey
Extract the key from the mapping- Parameters:
mapping- the mapping ([key]=[value])- Returns:
- the key or throws an exception if the mapping format is invalid
-
extractValue
Extract the value from the mapping- Parameters:
mapping- the mapping ([key]=[value])- Returns:
- the key or throws an exception if the mapping format is invalid
-
create
-
create
-
create
-
create
-