public final class Maps extends Object
| Modifier and Type | Method and Description |
|---|---|
static <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 Map<String,String> |
create(String mappings) |
static String |
extractKey(String mapping)
Extract the key from the mapping
|
static String |
extractValue(String mapping)
Extract the value from the mapping
|
public static String extractKey(String mapping)
mapping - the mapping ([key]=[value])public static String extractValue(String mapping)
mapping - the mapping ([key]=[value])public static <K,V> Map<K,V> create(K key, V value)
public static <K,V> Map<K,V> create(K key1, V value1, K key2, V value2)
public static <K,V> Map<K,V> create(K key1, V value1, K key2, V value2, K key3, V value3)
Copyright © 2023. All rights reserved.